Relates :
|
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.