RFR 7199353: Allow ConstructorProperties annotation from any package

Alan Bateman Alan.Bateman at oracle.com
Wed Oct 14 14:25:01 UTC 2015



On 14/10/2015 14:38, Jaroslav Bachorik wrote:
>
> Eg. "When only @java.beans.ConstructorProperties is used then rule 2 
> is not applicable to subset Profiles of Java SE that do not include 
> the java.beans package." ?
Adding "only" will would work too. You might consider "is present" 
rather than "is used" as that seems to be prevailing terminology used 
with annotations (isAnnotationPresent etc.).


> Hm, shouldn't we name the new annotation differently then? 
> @ConstructorMapping ? It is not mandatory that we keep the actual name 
> - we are changing the package anyway ... 
This may have been discussed previously, Mandy might know. I think at 
one point that jmx-dev was thinking about matching on any @CP property 
and that might have influenced the naming.

-Alan


More information about the jigsaw-dev mailing list