Skip to content

Commit c75798d

Browse files
YuanHao97mbland
authored andcommitted
Support newer jdk version when Compiling Bazel from Source without an existing Bazel binary
fix #18961 Closes #19125. PiperOrigin-RevId: 553738828 Change-Id: Ic4504ef8f28cc264fcf80c898123ffb6ce5bd854
1 parent c8d4c01 commit c75798d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/bootstrap/compile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ function run_bazel_jar() {
447447
-XX:+HeapDumpOnOutOfMemoryError -Xverify:none -Dfile.encoding=ISO-8859-1 \
448448
-XX:HeapDumpPath=${OUTPUT_DIR} \
449449
-Djava.util.logging.config.file=${OUTPUT_DIR}/javalog.properties \
450+
--add-opens java.base/java.lang=ALL-UNNAMED \
450451
${JNI_FLAGS} \
451452
-jar ${ARCHIVE_DIR}/libblaze.jar \
452453
--batch \

0 commit comments

Comments
 (0)