Skip to content

Commit ba2af9d

Browse files
bazel-iofmeum
andauthored
[8.1.1] Restore compatibility with any JDK 23 on Windows (#25348)
`-XX:-IgnoreUnrecognizedVMOptions` is always evaluated at the beginning of argument parsing and thus can't be used to disable the feature before consuming `--host_jvm_args`. Fixes #25312 Closes #25342. PiperOrigin-RevId: 729186918 Change-Id: Iafe65a6ad8774dcb5605bdfe0adeb17547291b4c Commit 6d64e2e Co-authored-by: Fabian Meumertzheim <[email protected]>
1 parent 8e1167f commit ba2af9d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/cpp/blaze.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ static vector<string> GetServerExeArgs(const blaze_util::Path &jvm_path,
437437
// https://bugs.openjdk.org/browse/JDK-6942632
438438
result.push_back("-XX:+IgnoreUnrecognizedVMOptions");
439439
result.push_back("-XX:+UseAllWindowsProcessorGroups");
440-
result.push_back("-XX:-IgnoreUnrecognizedVMOptions");
441440
#endif
442441

443442
if (startup_options.host_jvm_debug) {

0 commit comments

Comments
 (0)