JDK 9 RFR of JDK-6469562: Use compact notation to display annotation values
Joseph D. Darcy
joe.darcy at oracle.com
Wed Feb 17 01:00:59 UTC 2016
PS A follow-up on terminology, Alex pointed out to me off-list that the
JLS refers to the structures under discussion as "single-element
annotations":
https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.7.3
-Joe
On 2/15/2016 4:21 PM, Jonathan Gibbons wrote:
> Looks good to me.
>
> -- Jon
>
>
> On 02/13/2016 09:50 PM, joe darcy wrote:
>> Hello,
>>
>> Please review these changes to address
>>
>> JDK-6469562: Use compact notation to display annotation values
>> http://cr.openjdk.java.net/~darcy/6469562.0/
>>
>> In brief, when it is not required the noisy "value=" portion of
>> annotation is now omitted in javadoc leading to a more concise display.
>>
>> (The to the files used to generated the javadoc are not strictly
>> necessary, but they do demonstrate that the "value=" is superfluous
>> at a source level.)
>>
>> Thanks,
>>
>> -Joe
>
More information about the compiler-dev
mailing list