Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add required --add-opens server JVM args also with non-embedded JDK #16787

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Nov 18, 2022

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 #16705
Fixes #15831

Closes #16706.

PiperOrigin-RevId: 489372772
Change-Id: I880e2689f59b2d4420b1e2e0517697d7fb03abbc

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
@fmeum fmeum requested a review from ShreeM01 as a code owner November 18, 2022 04:24
@meteorcloudy meteorcloudy added this to the 6.0.0 release blockers milestone Nov 18, 2022
@meteorcloudy meteorcloudy merged commit 81e368f into bazelbuild:release-6.0.0 Nov 18, 2022
@fmeum fmeum deleted the release-6.0.0-16706 branch November 18, 2022 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants