Closed pjfanning closed 9 months ago
@wrandelshofer feel free to ignore this (or close it) - https://github.com/FasterXML/jackson-core/pull/1163 has worked around this issue
Oh, I am surprised that 1.0.0 does not work.
fastdoubleparser is a multi-release Jar. Supporting JDK 8 through 22. Even older releases included compiled classes for early-access JVMs. So far, these worked for me.
A lot of build tools like maven-shade-plugin and gradle struggle to maintain support for new JDKs - https://github.com/FasterXML/jackson-core/issues/955 is another report.
I don't know why they can't just ignore classes in META-INF/versions/x where the x is a version newer than they support.
Closing this, because this is a bug in older versions of the Gradle build system. Older versions of Gradle can not handle multi-release Jars properly. Because they attempt to instrument classes in the META-INF/versions folders that are not supported by the JVM on which Gradle runs. See https://github.com/gradle/gradle/issues/24390
Jackson still supports Java 8 but fastdoubleparser has at least some classes that have class file major version 66 - might be java 22
Jackson built fine with fastdoubleparser 0.9.0.
This could be a shortcoming of maven plugins - that don't know about Java 22. In fairness, Java 22 is only early access and many build tools really struggle to keep up.
Edit: This seems to be a shortcoming of maven-shade-plugin but I think I have managed to work around it by excluding the java 22 classes that are in META-INF/versions/22/ch/randelshofer/fastdoubleparser