You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see some tests failing because of this, for example kogito-runtimes/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test, when quarkus-container-image-jib picks a base image to build images, it'll pick a ubi8/openjdk-11-runtime as base image.
But we have generated code, for example, org/kie/api/definition/process/Process produced by drools, that is in java-17
in summary, these generated image will fail complaining about:
Caused by: java.lang.UnsupportedClassVersionError: org/kie/api/definition/process/Process has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Describe the bug
Guys, after moving main to quarkus 3.2.9.Final, where it's supposed that we are now in jdk-17, is there any reason for having this in kogito-runtimes?
see:
incubator-kie-kogito-runtimes/kogito-build/kogito-build-no-bom-parent/pom.xml
Line 81 in 1c56039
I can see some tests failing because of this, for example kogito-runtimes/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-image-integration-test, when quarkus-container-image-jib picks a base image to build images, it'll pick a ubi8/openjdk-11-runtime as base image.
But we have generated code, for example, org/kie/api/definition/process/Process produced by drools, that is in java-17
in summary, these generated image will fail complaining about:
Caused by: java.lang.UnsupportedClassVersionError: org/kie/api/definition/process/Process has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
note that drools now has:
https://github.com/apache/incubator-kie-drools/blob/0c0b3e5d6e1a02ed46f1c31de359ac876997834b/build-parent/pom.xml#L38
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: