-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 21, 22
-
b02
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313305 | 21.0.1 | Aleksey Shipilev | P4 | Resolved | Fixed | b05 |
JDK-8313546 | 17.0.9 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
When we bump the major JDK version, incremental builds break with errors like:
java.lang.UnsupportedClassVersionError: java/lang/invoke/LambdaForm$DMH has been compiled by a more recent version of the Java Runtime (class file version 66.0), this version of the Java Runtime only recognizes class file versions up to 65.0
This is rectified by rerunning configure. Init.gmk has a check to protect the user against such errors, but it currently only checks for changes in make/autoconf/*. We should add the relevant files in make/conf/*.conf to this list of dependencies. I believe the relevant files are version-numbers.conf and branding.conf based on which files are referenced from any .m4 files.
java.lang.UnsupportedClassVersionError: java/lang/invoke/LambdaForm$DMH has been compiled by a more recent version of the Java Runtime (class file version 66.0), this version of the Java Runtime only recognizes class file versions up to 65.0
This is rectified by rerunning configure. Init.gmk has a check to protect the user against such errors, but it currently only checks for changes in make/autoconf/*. We should add the relevant files in make/conf/*.conf to this list of dependencies. I believe the relevant files are version-numbers.conf and branding.conf based on which files are referenced from any .m4 files.
- backported by
-
JDK-8313305 Reconfigure check should include make/conf/version-numbers.conf
- Resolved
-
JDK-8313546 Reconfigure check should include make/conf/version-numbers.conf
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/d44c4461
-
Commit openjdk/jdk21u/24fe96b9
-
Commit openjdk/jdk/955fc2fa
-
Review openjdk/jdk17u-dev/1626
-
Review openjdk/jdk21u/16
-
Review openjdk/jdk/14458
(3 links to)