JDK-8145471 : javac changes for enhanced deprecation
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-12-15
  • Updated: 2017-05-17
  • Resolved: 2016-10-20
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 9
9 b142Fixed
Related Reports
Relates :  
Description
Javac should be updated to handle deprecation enhancements. There are a couple items:

1) add a new "lint" category under which warnings are issued for uses of APIs that are deprecated for removal; and

2) make such warnings opt-out (use mandatory warnings mechanism).

Comments
Review: http://cr.openjdk.java.net/~jjg/8145471/webrev.01/
17-10-2016

Note that javac follows: https://docs.oracle.com/javase/specs/jls/se7/html/jls-9.html#jls-9.6.3.6
17-12-2015