JDK 9 RFR of JDK-8172686: Use less aggressive deprecation of utility visitors

Joseph D. Darcy joe.darcy at oracle.com
Sat Jan 14 00:52:53 UTC 2017

Thanks Jon.

Off-list, Stuart, aka Dr. Deprecator, pointed that the this @Deprecated 
tags do not have the since="9" information. While such information 
generally should be present on at least new-in-9 deprecations, these 
particular classes are compiled by the bootstrap JDK (JDK 8 currently) 
whose java.lang.Deprecation does not have a since method.

I've filed the follow-up bug

         JDK-8172818: Add since=9 deprecation information to 
javax.lang.model classes

to be fixed in JDK 10.



On 1/13/2017 3:44 PM, Jonathan Gibbons wrote:
> Joe,
> Looks good,
> -- Jon
> On 01/13/2017 11:34 AM, joe darcy wrote:
>> Hello,
>> As part of JDK-8050430, the Java SE 6 vintage utility visitors in 
>> javax.lang.model.util were deprecated. This deprecation is a bit 
>> overly aggressive; deprecating the constructors of the utility 
>> visitors would suffice.
>> Please review the changes to do this:
>>     http://cr.openjdk.java.net/~darcy/8172686.0/
>> (I'll change the copyright years to 2017 before pushing.)
>> Thanks,
>> -Joe

More information about the compiler-dev mailing list