[9] RFR: 8061466 - RELAX NG API visible but not accessible

Miroslav Kos miroslav.kos at oracle.com
Thu Sep 24 13:57:33 UTC 2015

Hi everybody,

I'd like to ask for review of following fix:

RELAX NG API visible but not accessible
JBS: https://bugs.openjdk.java.net/browse/JDK-8061466
webrev: http://cr.openjdk.java.net/~mkos/8061466/jaxws.01/index.html

- org.relaxng.* classes in jdk.xml.bind module are not repackaged, but 
those are not exported so they are not usable outside of module (jdk) anyway
- processing RelaxNG schemas with JAX-B's declared as 
experimental/unsupported, but removing these classes is not easy since 
several other packages within JAX-B depend on those ...

This patch repackages these classes from org.relaxng.* to 
com.sun.xml.internal.org.relaxng.* + removes loading RelaxNG runtime in 
xjc (+ removing related messages).

Testing: snadalone JAX-B/WS tests, JAX-WS JCK, jtreg, no regressions.


More information about the core-libs-dev mailing list