JDK-8155516 : Suppress warnings from uses of deprecated Class.newInstance langtools
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-04-27
  • Updated: 2016-05-09
  • Resolved: 2016-05-03
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 b117Fixed
Related Reports
Relates :  
Description
The langtools repository has some usages of Class.newInstance. When this method is deprecated, the uses in langtools should be suppressed. Later on, the uses should be reviewed for being changed to use the recommended idioms.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/compiler-dev/2016-April/010139.html
03-05-2016