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
Describe the bug
When running the bpmn layout generator with OpenJDK 21, a NoSuchMethodException occurs due to the absence of the sun.misc.Unsafe.defineClass method, causing a failure in JAXB context initialization.
To Reproduce
1- Use OpenJDK 21
2- sh java -jar lib/bpmn-layout-generator-0.1.4-jar-with-dependencies.jar --output=src/diagrams/diagram-with-layout.bpmn src/diagrams/diagram.bpmn
Expected behavior
The command should execute without throwing an exception, generating the BPMN diagram, as it does with OpenJDK 11
Desktop
OS: Ubuntu 22.04
Java Version: OpenJDK 21
The text was updated successfully, but these errors were encountered:
# java 17 fails: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x2fcad999) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x2fcad999
So what you mention here is that this project support run on JDK 21.
Describe the bug
When running the bpmn layout generator with OpenJDK 21, a NoSuchMethodException occurs due to the absence of the sun.misc.Unsafe.defineClass method, causing a failure in JAXB context initialization.
To Reproduce
1- Use OpenJDK 21
2- sh java -jar lib/bpmn-layout-generator-0.1.4-jar-with-dependencies.jar --output=src/diagrams/diagram-with-layout.bpmn src/diagrams/diagram.bpmn
Expected behavior
The command should execute without throwing an exception, generating the BPMN diagram, as it does with OpenJDK 11
Desktop
The text was updated successfully, but these errors were encountered: