-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
woodstox-core.jar 6.0.2 uses JDK-11 removed internal APIs #96
Comments
This usage is via MSV component, used for XML Schema validation. |
Thanks cowtowncoder for your quick response! A similar use case exists of same removed APIs in Metro JAXWS library, where they have fixed it for JDK 9+ builds. Link: eclipse-ee4j/metro-jax-ws#86 Can you please have a look into it? |
No, I do not have time to do dig into this, ESPECIALLY given that it is -- as I mentioned -- in a 3rd party library Woodstox relies on (or dependency it has). This is a volunteer effort where users are usually participants so if you want to get it resolved, you will often need to do some work yourself. Just asking others to help you solve problem YOU ARE HAVING does not often yield good results. |
Adding resolver-20050927.jar to the classpath fixes the issue with woodstox-core if anyone is interested. |
There is also version 6.0.3 available, although it seems unlikely that would matter in this case. |
The same class leads to issues when embedding in an OSGi bundle, as scanning of that class file leads to the following (unwanted) Import-Package statements (https://issues.apache.org/jira/browse/JCRVLT-414):
Is it possible to exclude just the |
unnecessary transitive dependencies This fixes FasterXML#96
unnecessary transitive dependencies This fixes #96
@kwin Hmmmmmmmh. I did release 6.1.0, but now seeing that upgrade to that would lead to failures with
Did you actually tests that resulting jar works for validation using RelaxNG and W3C Schema? |
I think I will probably have to undo this change -- just very very unfortunate that I did release 6.1.0 already. :-( |
jdeps scan report:
digraph "woodstox-core-6.0.2.jar" {
"com.ctc.wstx.shaded.msv_core.driver.textui.Driver" -> "com.sun.org.apache.xml.internal.resolver.Catalog (JDK internal API (JDK removed internal API))";
"com.ctc.wstx.shaded.msv_core.driver.textui.Driver" -> "com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver (JDK internal API (JDK removed internal API))";
}
We are migrating our project to Java 11, Can someone please have a look into this issue?
The text was updated successfully, but these errors were encountered: