Raise Java baseline to 17 and clean XML parsers for JDK 22+#97
Raise Java baseline to 17 and clean XML parsers for JDK 22+#97dyrpsf wants to merge 1 commit intodraeger-lab:masterfrom
Conversation
xts-Michi
left a comment
There was a problem hiding this comment.
As mentioned in another PR, I am currently testing and debugging the full implementation of OptSolvX as a new backend for SBSCL (see #90 for current status).
Consequently, this PR should remain on hold until the OptSolvX implementation is complete. This ensures the new Java baseline and XML parser can be tested in the anticipated environment. Raising those versions now would interfere with current progress and create unnecessary overhead.
Thanks a lot for the explanation and the pointer to PR #90! That makes sense—raising the Java baseline and adjusting the XML parser stack while the I’m happy to keep this PR on hold until the OptSolvX implementation is complete and the |
This PR raises the Java baseline to 17 and removes legacy XML parser dependencies so SBSCL
runs cleanly on modern JDKs (tested locally on JDK 24).
Changes:
jdk.versionto 17 and updatedmaven-compiler-pluginto 3.11.0 with<release>17</release>.xercesImpl,xml-apis, andxalanfrom thejlibsedmldependency so that thebuilt-in JDK JAXP stack is used. This avoids the AbstractMethodError seen on JDK 22+ when
legacy XML parsers shadow the JDK implementation.
mvn testsucceeds on a Java 17+ JDK (24 in my case); FBA code underorg.simulator.fbacompiles and is usable with the new baseline..travis.ymlto run the CI matrix on OpenJDK 17 and a newer OpenJDK versioninstead of Java 11.
issue Raise Java baseline & ensure FBA runs cleanly on Java 22 (deprecate Java 8) #91