Commit 94355b1
Add required
Since the Bazel server requires JDK 11 or higher to run, the `--add-opens` server JVM arg for `java.lang` can now be added unconditionally, which ensures support with JDK 17+.
Also removes the additional opens for `java.nio`, which was only needed to silence a protobuf warning that has since been fixed upstream.
Fixes bazelbuild#16705
Fixes bazelbuild#15831
Closes bazelbuild#16706.
PiperOrigin-RevId: 489372772
Change-Id: I880e2689f59b2d4420b1e2e0517697d7fb03abbc--add-opens server JVM args also with non-embedded JDK1 parent c1c8a6b commit 94355b1
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
369 | 366 | | |
370 | 367 | | |
371 | 368 | | |
| |||
0 commit comments