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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3
    • tbd
    • 9
    • xml

    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

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

            Dates

              Created:
              Updated:
              Resolved: