-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6)
-
1
-
NEW
-
NEW
-
---
-
---
As of 2023/02/06, on 7.x branch, ResultSetGeneratorTest failed with JDK8
[ERROR] testResultSet(org.drools.template.jdbc.ResultSetGeneratorTest) Time elapsed: 0.01 s <<< ERROR! java.lang.UnsupportedClassVersionError: org/hsqldb/jdbcDriver has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) at java.net.URLClassLoader.access$100(URLClassLoader.java:74) at java.net.URLClassLoader$1.run(URLClassLoader.java:369) at java.net.URLClassLoader$1.run(URLClassLoader.java:363) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.drools.template.jdbc.ResultSetGeneratorTest.testResultSet(ResultSetGeneratorTest.java:51)
It was caused by hsqldb version bump from 2.3.0 to 2.7.1 (https://github.com/kiegroup/droolsjbpm-build-bootstrap/commit/e2565fe99d945b74ae29b68dd75743d0fde59be3), because 2.7.1 is built with JDK11.
Good news is that hsqldb 2.7.1 JDK 8 build is provided with "jdk8" classifier.
https://repo1.maven.org/maven2/org/hsqldb/hsqldb/2.7.1/