RFR 7199353: Allow ConstructorProperties annotation from any package

Alan Bateman Alan.Bateman at oracle.com
Thu Oct 8 18:56:19 UTC 2015



On 08/10/2015 19:41, Alex Buckley wrote:
> :
>
> Also, this annotation type introduces a new package, 
> javax.management.annotation. I support *.annotation packages in 
> general (e.g. to group a growing number of exciting annotation types 
> related to HotSpot) but JMX is a mature technology which in the past 
> decade has only introduced two annotation types, one of which is 
> MXBean itself. I recommend placing ConstructorProperties alongside 
> MXBean in the existing javax.management package.
Jaroslav has a draft JEP that proposed to introduce a bunch of new 
annotations:

https://bugs.openjdk.java.net/browse/JDK-8044507

so the move into javax.management.annotation is in anticipation that it 
@CP won't be alone.

-Alan



More information about the jigsaw-dev mailing list