JDK-8193035 : remove terminally deprecated APIs from java.lang
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2017-12-05
  • Updated: 2018-06-15
  • Resolved: 2018-06-15
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 11
11Resolved
Related Reports
Relates :  
Relates :  
Description
The following classes and methods have been terminally deprecated and should be removed from a JDK feature release:

@Deprecated(since="9", forRemoval=true) class java.lang.Compiler

@Deprecated(since="9", forRemoval=true) void java.lang.Runtime.traceInstructions(boolean)
@Deprecated(since="9", forRemoval=true) void java.lang.Runtime.traceMethodCalls(boolean)

@Deprecated(since="1.2", forRemoval=true) void java.lang.System.runFinalizersOnExit(boolean)

@Deprecated(since="1.2", forRemoval=true) void java.lang.Thread.stop(java.lang.Throwable)
@Deprecated(since="1.5", forRemoval=true) void java.lang.Thread.destroy()
@Deprecated(since="1.2", forRemoval=true) int java.lang.Thread.countStackFrames()

Comments
Removal of java.lang.Compiler is covered by JDK-8205129. Removal of Runtime.trace* methods is covered by JDK-8205131. Removal of Thread.countStackFrames() is covered by JDK-8205132. Since all the APIs mentioned in this task have either been removed or are covered by other issues, I'm closing this out.
15-06-2018

Removal of Thread.destroy() and Thread.stop(Throwable) is covered by JDK-8204243.
01-06-2018

System.runFinalizersOnExit() and the corresponding method in Runtime have been removed by JDK-8198249.
01-06-2018