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

RELAX NG API visible but not accessible

XMLWordPrintable

    • b85
    • Verified

        JAXB has a copy of RELAX NG in tools.jar. This means that types in the package org.relaxng.datatype are visible when tools.jar is on the class path.

        When we move to the modular image then these classes will be defined by the boot or extensions loader (as they are in module javax.xml.bind) and so will be visible even with a JRE image.

        When we add module boundaries then these APIs will become inaccessible as they will not be exported by the jdk.xml.bind module.

        This bug asks that the inclusion of the RELAX NG API be re-examined. If it is required (by JAXB tools) then it would be better to move the classes into a JDK-internal package.

              mkos Miroslav Kos (Inactive)
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: