jOOQ / jOOL

jOOλ - The Missing Parts in Java 8 jOOλ improves the JDK libraries in areas where the Expert Group's focus was elsewhere. It adds tuple support, function support, and a lot of additional functionality around sequential Streams. The JDK 8's main efforts (default methods, lambdas, and the Stream API) were focused around maintaining backwards compatibility and implementing a functional API for parallelism.
http://www.jooq.org/products
Apache License 2.0
2.09k stars 168 forks source link

jool-java-8 has major version 53 (JDK9) #349

Closed vbaidak closed 5 years ago

vbaidak commented 5 years ago

Expected behavior and actual behavior:

Expected: major version is 52 Actual: major version is 53

Steps to reproduce the problem:

run the code in JRE 8

Versions:

Stacktrace

Failed to define class org.jooq.lambda.fi.util.function.CheckedFunction in Module "deployment.identity.war" from Service Module Loader: java.lang.UnsupportedClassVersionError: Failed to link org/jooq/lambda/fi/util/function/CheckedFunction (Module "deployment.identity.war" from Service Module Loader): org/jooq/lambda/fi/util/function/CheckedFunction has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
lukaseder commented 5 years ago

I'm assuming this resolved itself? I cannot confirm that jool-java-8 has the wrong version number.

vbaidak commented 5 years ago

Yes, @lukaseder . I had both jool dependencies in classpath, so it was my mistake. Sorry for taking your time

sdykae commented 2 years ago

When major version 53 is newer than 52, the highest major version supported by this compiler. use

implementation("org.jooq:jool-java-8:0.9.14")

instead

implementation("org.jooq:jool:0.9.14")