Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

JDK8_JVM_OPTS is removed from @bazel_tools with Bazel@HEAD #127

Open
meteorcloudy opened this issue Apr 29, 2022 · 5 comments
Open

JDK8_JVM_OPTS is removed from @bazel_tools with Bazel@HEAD #127

meteorcloudy opened this issue Apr 29, 2022 · 5 comments

Comments

@meteorcloudy
Copy link
Member

Breaking change: bazelbuild/bazel@3a0a4f3#diff-d5fecbfa677024171f4ad5ea60ffb5886360d2069f86cd04300e791f5d6617c8

rules_appengine should stop using JDK8_JVM_OPTS due to the above breaking change.

@meteorcloudy
Copy link
Member Author

/cc @cushon @comius

@cushon
Copy link
Contributor

cushon commented May 1, 2022

JDK8_JVM_OPTS is only needed if using JDK 8 to run javac. If this toolchain is just trying to target the Java 8 language level (but not require a JDK 8 javac), then it might be sufficient to just drop the use of JDK8_JVM_OPTS

default_java_toolchain(
name = "jdk8",
configuration = JVM8_TOOLCHAIN_CONFIGURATION,
jvm_opts = JDK8_JVM_OPTS + [
"-XX:+TieredCompilation",
"-XX:TieredStopAtLevel=1",
],
source_version = "8",
target_version = "8",

@meteorcloudy
Copy link
Member Author

@pmbethe09 is rules_appengine still being maintained?

@pmbethe09
Copy link
Member

There has been no active work on this in some time. Unclear if we should try to get support going again.

@meteorcloudy
Copy link
Member Author

ACK, then I'll disable rules_appengine in our downstream for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants