Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8164907

Eliminate dependency on java.naming/com.sun.jndi.toolkit.url

XMLWordPrintable

    • 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.

            prappo Pavel Rappo (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: