JF,

Excellent point! Although we might imagine that someone would want to reuse the @Description annotation for another purpose where FIELD would be valid, I don't think they would gain much doing that versus creating their own @Description with the semantics they want. So we should remove FIELD from the @Target, at least until we do use it for something.

Thanks,

Éamonn McManus   JMX Spec Lead   http://weblogs.java.net/blog/emcmanus/



Jean-Francois Denise wrote:
Hello Eamonn,
I mainly focus on new Annotations and impact on public classes. I noticed that Description Annotation targets FIELD. I was not able to find a case where the FIELD target is needed. But perhaps that I missed something there.

JF.


Eamonn McManus wrote:
I'm looking for reviewers for this fairly substantial change to the JMX API and implementation in JDK7. I need at least one reviewer with commit rights to openjdk. Any other reviewers will be acknowledged in the changeset message.

The context: http://weblogs.java.net/blog/emcmanus/archive/2007/08/defining_mbeans.html

The specification changes: http://weblogs.java.net/blog/emcmanus/archive/6323980-specdiff.html

The code changes: http://weblogs.java.net/blog/emcmanus/archive/6323980-webrev.zip

Thanks,




Reply via email to