Skip to content

Commit af50ad3

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

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
@@ -450,6 +450,7 @@ function run_bazel_jar() {
450450
-XX:+HeapDumpOnOutOfMemoryError -Xverify:none -Dfile.encoding=ISO-8859-1 \
451451
-XX:HeapDumpPath=${OUTPUT_DIR} \
452452
-Djava.util.logging.config.file=${OUTPUT_DIR}/javalog.properties \
453+
--add-opens java.base/java.lang=ALL-UNNAMED \
453454
${JNI_FLAGS} \
454455
-jar ${ARCHIVE_DIR}/libblaze.jar \
455456
--batch \

0 commit comments

Comments
 (0)