JDK-8177682 : Suppress removal warning for System.runFinalizersOnExit
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-03-28
  • Updated: 2017-04-22
  • Resolved: 2017-04-13
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 JDK 9
10Fixed 9 b166Fixed
Related Reports
Relates :  
Description
The implementation of the method System.runFinalizersOnExit uses API elements that are deprecated for removal, namely Runtime.runFinalizersOnExit.

System.runFinalizersOnExit is itself deprecated for removal. Until it is removed, the lint warning associated with using a deprecated for removal API should be suppressed.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-March/046960.html
28-03-2017