-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b150
-
Verified
The java.corba module includes the JNDI CosNaming Service Provider and currently makes use of types in java.naming/com.sun.jndi.toolkit.url. We need to eliminate this dependency so that a java.corba module outside of the JDK does not rely on JDK internal APIs.
To demonstrate the issue then simply remove the qualified export from java.naming and the build will fail. The simplest thing might be for java.corba to take a copy of com.sun.jndi.toolkit.url.UrlUtil and com.sun.jndi.toolkit.url.GenericURLContext and put them in its own package.
While we are at it then we should move the code in jdk/src/java.corba to the corba repo so that the code is not split between two repos.
To demonstrate the issue then simply remove the qualified export from java.naming and the build will fail. The simplest thing might be for java.corba to take a copy of com.sun.jndi.toolkit.url.UrlUtil and com.sun.jndi.toolkit.url.GenericURLContext and put them in its own package.
While we are at it then we should move the code in jdk/src/java.corba to the corba repo so that the code is not split between two repos.
- relates to
-
JDK-8170116 Remove qualified exports from java.base to java.corba
-
- Closed
-