SaxonJ 12 does not run on Java 8
We say in the documentation that we're targeting Java 11 but that the code should still run on Java 8. However, it is reported that it doesn't.
Note: we are using at least one Java 9 feature, namely the java.lang.ref.Cleaner class.
Updated by Michael Kay 11 months ago
I have moved all the dependencies on
java.lang.ref.Cleaner into one place (CleanerProxy.java) which is designed to have fallback behaviour if the Cleaner class is not available. The fallback action is not yet tested.
Also noted, there are also "soft" Java 9 dependencies in JavaPlatform.java, with fallback action for Java 8.
Updated by Debbie Lockett 11 months ago
I have added a note on the website (https://www.saxonica.com/products/latest.xml#saxonJ12) where we mention Java versions, so that it now says:
SaxonJ 12 is built and tested using Java 11, but should still be usable with Java 8 or later. (However, due to bug #5824, note that SaxonJ 12.0 does not run on Java 8.)
I decided against adding this note in the documentation (because it's a code bug and we don't generally update the documentation to highlight code bugs). But let me know if you think I should. (The relevant documentation pages are: about/gettingstarted/gettingstartedjava, about/installationjava/prerequisites, changes/installation.)
Please register to edit this issue