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

Standalone JAXB-RI-2.3/lib/jaxb-api.jar/javax/xml/bind/ContextFinder.class refers to "internal" packages

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Incomplete
    • Affects Version/s: 9
    • Fix Version/s: tbd_minor
    • Component/s: xml
    • Labels:
    • Subcomponent:

      Description

      ContextFinder.class contains String literals and constants referring to "internal" classes, like:

      private static final String PLATFORM_DEFAULT_FACTORY_CLASS = "com.sun.xml.internal.bind.v2.ContextFactory";

      Class spFactory = ServiceLoaderUtil.safeLoadClass(className, "com.sun.xml.internal.bind.v2.ContextFactory", classLoader);

      spi = ServiceLoaderUtil.safeLoadClass(className, "com.sun.xml.internal.bind.v2.ContextFactory", getContextClassLoader());

      According to my understanding it's JAXB RI built into JDK which has "internal" packages. Standalone JAXB RI doesn't have such packages.

      I believe standalone JAXB RI should refer to classes from standalone JAXB RI rather than from build-in JAXB RI.

        Attachments

          Activity

            People

            • Assignee:
              zli Zheng Jun Li (Inactive)
              Reporter:
              grakov Georgiy Rakov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: