git: openjdk/leyden: hermetic-java-runtime: Support hermetic JAR packaged lib/ct.sym file.

duke duke at openjdk.org
Mon Nov 27 23:43:50 UTC 2023


Changeset: d05373a8
Author:    Jiangli Zhou <jianglizhou at google.com>
Date:      2023-09-01 14:50:25 +0000
URL:       https://git.openjdk.org/leyden/commit/d05373a8b2cdfff61c25780cf2b8ea017680e56d

Support hermetic JAR packaged lib/ct.sym file.

Removed the use of the static final 'symbolFileLocation' field, which defines the path subcomponents of the 'lib/ct.sym' file. Instead, the path elements are passed as the arguments of JavaHome.getJDKResource(). That provides more complete and precise logging information for verifying the runtime access of ct.sym file path.

This change requires JavaHome class in the boot JDK.

! src/jdk.compiler/share/classes/com/sun/tools/javac/platform/JDKPlatformProvider.java



More information about the leyden-dev mailing list