JDK-8177554 : Umbrella: Remove terminally deprecated APIs from JDK 10
  • Type: Bug
  • Component: core-libs
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2017-03-24
  • Updated: 2018-02-15
  • Resolved: 2017-12-09
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
10Resolved
Related Reports
Blocks :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8177561 :  
Description
JDK 9 saw the introduction of a new facility to mark items as deprecated for removal (JDK-8145461) as part of enhancing the deprecation mechanism (JDK-8065614). Various APIs throughout the JDK were so marked.

The APIs so marked in 9 should now be removed in a future release.

Individual blocks of APIs should be tracked using subtasks. This bug should be closed when all subtasks have been completed.
Comments
All subtasks have been completed or migrated elsewhere, so I'm marking this as Resolved/Delivered.
09-12-2017

Output of "jdeprscan --list --for-removal" from JDK 9+179 is below. Not all of these should be removed in JDK 10. @Deprecated(since="9", forRemoval=true) class java.lang.Compiler @Deprecated(since="1.2", forRemoval=true) void java.lang.Runtime.runFinalizersOnExit(boolean) @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.1", forRemoval=true) java.io.InputStream java.lang.Runtime.getLocalizedInputStream(java.io.InputStream) @Deprecated(since="1.1", forRemoval=true) java.io.OutputStream java.lang.Runtime.getLocalizedOutputStream(java.io.OutputStream) @Deprecated(since="1.2", forRemoval=true) java.lang.SecurityManager.inCheck @Deprecated(since="1.2", forRemoval=true) boolean java.lang.SecurityManager.getInCheck() @Deprecated(since="1.2", forRemoval=true) java.lang.ClassLoader java.lang.SecurityManager.currentClassLoader() @Deprecated(since="1.2", forRemoval=true) java.lang.Class java.lang.SecurityManager.currentLoadedClass() @Deprecated(since="1.2", forRemoval=true) int java.lang.SecurityManager.classDepth(java.lang.String) @Deprecated(since="1.2", forRemoval=true) int java.lang.SecurityManager.classLoaderDepth() @Deprecated(since="1.2", forRemoval=true) boolean java.lang.SecurityManager.inClass(java.lang.String) @Deprecated(since="1.2", forRemoval=true) boolean java.lang.SecurityManager.inClassLoader() @Deprecated(since="1.8", forRemoval=true) boolean java.lang.SecurityManager.checkTopLevelWindow(java.lang.Object) @Deprecated(since="1.8", forRemoval=true) void java.lang.SecurityManager.checkSystemClipboardAccess() @Deprecated(since="1.8", forRemoval=true) void java.lang.SecurityManager.checkAwtEventQueueAccess() @Deprecated(since="1.8", forRemoval=true) void java.lang.SecurityManager.checkMemberAccess(java.lang.Class,int) @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() @Deprecated(since="9", forRemoval=true) java.lang.Class sun.misc.Unsafe.defineClass(java.lang.String,byte[],int,int,java.lang.ClassLoader,java.security.ProtectionDomain) @Deprecated(forRemoval=true) java.lang.Class sun.reflect.Reflection.getCallerClass(int)
26-07-2017