JDK-8164909 : Eliminate use of JDK internal APIs
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-08-27
  • Updated: 2016-12-22
  • Resolved: 2016-12-22
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
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
The following usages of JDK-internal APIs need to be examined in the java.corba module:

src/java.corba/share/classes/com/sun/corba/se/spi/orb/ORB.java:import jdk.internal.misc.JavaAWTAccess;
src/java.corba/share/classes/com/sun/corba/se/spi/orb/ORB.java:import jdk.internal.misc.SharedSecrets;
src/java.corba/share/classes/sun/corba/Bridge.java:import jdk.internal.misc.Unsafe ;
src/java.corba/share/classes/sun/corba/Bridge.java:import jdk.internal.reflect.ReflectionFactory;
src/java.corba/share/classes/sun/corba/SharedSecrets.java:import jdk.internal.misc.Unsafe;

These are not going to work if java.corba is deployed outside of the JDK, say on the class path.

In the case of ReflectionFactory/Unsafe then it can probably use the sun.reflect/sun.misc versions temporarily (meaning java.corba will depend on jdk.unsupported).

In the case of SharedSecrets/JavaAWTAccess then it requires looking at changes introduced in a security release to see if they are still needed.