ADDITIONAL SYSTEM INFORMATION :
Mac OS M1 Ventura 13.3.1. openjdk-21-ea+23_macos-aarch64_bin
But it seems like it crashes on other OSes as well.
A DESCRIPTION OF THE PROBLEM :
Running a modularized binary with jlink + jpackage from ea 21 (build 23) (using gradle toolchain) crashes on startup with a JVM error.
REGRESSION : Last worked in version 20.0.1
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Either download a binary from the CI build:
https://builds.jabref.org/pull/9919/merge/ (prebuilt binaries)
https://github.com/JabRef/jabref/pull/9919 (source code)
Execute JabRef from bin/JabRef
Or run locally with
./gradlew -Porg.gradle.java.installations.paths=<path to jdk21> jpackage
Go to build/image/bin and execute JabRef
ACTUAL -
Application crashes on startup and
---------- BEGIN SOURCE ----------
https://github.com/JabRef/jabref/pull/9919
./gradlew -Porg.gradle.java.installations.paths=<path to jdk21> jpackage
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Stay on jdk 20
FREQUENCY : always
Mac OS M1 Ventura 13.3.1. openjdk-21-ea+23_macos-aarch64_bin
But it seems like it crashes on other OSes as well.
A DESCRIPTION OF THE PROBLEM :
Running a modularized binary with jlink + jpackage from ea 21 (build 23) (using gradle toolchain) crashes on startup with a JVM error.
REGRESSION : Last worked in version 20.0.1
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Either download a binary from the CI build:
https://builds.jabref.org/pull/9919/merge/ (prebuilt binaries)
https://github.com/JabRef/jabref/pull/9919 (source code)
Execute JabRef from bin/JabRef
Or run locally with
./gradlew -Porg.gradle.java.installations.paths=<path to jdk21> jpackage
Go to build/image/bin and execute JabRef
ACTUAL -
Application crashes on startup and
---------- BEGIN SOURCE ----------
https://github.com/JabRef/jabref/pull/9919
./gradlew -Porg.gradle.java.installations.paths=<path to jdk21> jpackage
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Stay on jdk 20
FREQUENCY : always
- duplicates
-
JDK-8240567 MethodTooLargeException thrown while creating a jlink image
-
- Resolved
-
- relates to
-
JDK-8308549 Classfile API should fail to generate over-sized Code attribute
-
- Closed
-
-
JDK-8240567 MethodTooLargeException thrown while creating a jlink image
-
- Resolved
-