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

Commits on Nov 18, 2022

  1. Add required --add-opens server JVM args also with non-embedded JDK

    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 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    694545e View commit details
    Browse the repository at this point in the history