You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependency on Xerces in Shaclex prevents us from compiling under JDK 17:
[INFO] Running org.eclipse.lyo.validation.ShaclMaxExclusiveValidationTest
java.lang.IllegalAccessError: class es.weso.utils.RegEx (in unnamed module @0x1e7ba8d9) cannot access class com.sun.org.apache.xerces.internal.impl.xpath.regex.RegularExpression (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.impl.xpath.regex to unnamed module @0x1e7ba8d9
at es.weso.utils.RegEx.matches(RegexUtils.scala:17)
...
While not a blocker (we intend to stay on JDK 8 as long as possible for our users), we'd like to resolve build errors in order not to accrue tech debt. Xerces should not be included in the new projects as JAXB has almost everything you need. Moreover, I noticed you only use it for regexp processing. Is there a reason java.util.regex.Pattern cannot be used?
Best regards,
Andrew
The text was updated successfully, but these errors were encountered:
Hi @berezovskyi, thank you very much for your contribution. It is well motivated and the code provided solves it. As soon as we can check it thoroughly, we will inform you.
Hello,
Dependency on Xerces in Shaclex prevents us from compiling under JDK 17:
While not a blocker (we intend to stay on JDK 8 as long as possible for our users), we'd like to resolve build errors in order not to accrue tech debt. Xerces should not be included in the new projects as JAXB has almost everything you need. Moreover, I noticed you only use it for regexp processing. Is there a reason
java.util.regex.Pattern
cannot be used?Best regards,
Andrew
The text was updated successfully, but these errors were encountered: