JDK-8071911 : Fix deprecation warnings in jdk.rmic module
Type:Sub-task
Component:core-libs
Sub-Component:java.rmi
Affected Version:9
Priority:P4
Status:Open
Resolution:Unresolved
Submitted:2015-01-29
Updated:2018-09-11
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.
The deprecation warnings in the jdk.rmic module might need to be reviewed and possibly addressed via code changes.
Comments
Current deprecation warnings:
dev/jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/Main.java:688: warning: [deprecation] sun.tools.javac.SourceClass in sun.tools.javac has been deprecated
dev/jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/Main.java:726: warning: [deprecation] sun.tools.javac.SourceClass in sun.tools.javac has been deprecated
dev/jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/Main.java:734: warning: [deprecation] sun.tools.javac.SourceClass in sun.tools.javac has been deprecated
dev/jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/BatchEnvironment.java:64: warning: [deprecation] sun.tools.javac.BatchEnvironment in sun.tools.javac has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java:185: warning: [deprecation] SourceClass in sun.tools.javac has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java:425: warning: [deprecation] isSpace(char) in Character has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java:433: warning: [deprecation] isSpace(char) in Character has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java:1276: warning: [deprecation] SourceClass in sun.tools.javac has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java:1346: warning: [deprecation] SourceMember in sun.tools.javac has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/ClassDefinition.java:1407: warning: [deprecation] SourceMember in sun.tools.javac has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/MemberDefinition.java:631: warning: [deprecation] SourceMember in sun.tools.javac has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/BinaryClass.java:121: warning: [deprecation] Main in sun.tools.javac has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/BinaryClass.java:128: warning: [deprecation] Main in sun.tools.javac has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/Scanner.java:600: warning: [deprecation] isJavaLetterOrDigit(char) in Character has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/Scanner.java:603: warning: [deprecation] isJavaLetterOrDigit(char) in Character has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/Scanner.java:720: warning: [deprecation] isJavaLetterOrDigit(char) in Character has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/Scanner.java:723: warning: [deprecation] isJavaLetterOrDigit(char) in Character has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/Scanner.java:957: warning: [deprecation] isJavaLetterOrDigit(char) in Character has been deprecated
/Users/admin/OpenJDK/dev/jdk/src/jdk.rmic/share/classes/sun/tools/java/Scanner.java:1314: warning: [deprecation] isJavaLetter(char) in Character has been deprecated