JDK-8172818 : Add since=9 deprecation information to javax.lang.model classes
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-01-14
  • Updated: 2018-02-02
  • Resolved: 2017-10-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b30Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
While several elements of javax.lang.model and javax.tools were deprecated in Java SE 9 (JDK-8172686, JDK-8050430, JDK-8155765), the since="9" information cannot be added in JDK 9 since these classes are bootstrapped against JDK 8 and the java.lang.Deprecated type from JDK 8 does not have a since method.

However, this information should be added in JDK 10, which will be bootstrapped against JDK 9.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/compiler-dev/2017-October/011265.html
26-10-2017