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

Remove to-be-removed flags from default_java_toolchain #1227

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

simuons
Copy link
Collaborator

@simuons simuons commented Feb 22, 2021

Description

Attempt to fix #1224

Test java_toolchain_javacopts_are_used fails because of failing default_java_toolchain declaration.

Root cause is that javac parameter was removed from java_toolchain.

Test java_toolchain_javacopts_are_used only cares about javacopts flag on a toolchain.

So this PR removes bootclasspath and javac from default_java_toolchain and these values will be taken from DEFAULT_TOOLCHAIN_CONFIGURATION/_BASE_TOOLCHAIN_CONFIGURATION

Attempt to fix issue bazelbuild#1224

Test java_toolchain_javacopts_are_used only cares about javacopts

bootclasspath and javac are irrelevant and shuold be taked from

DEFAULT_TOOLCHAIN_CONFIGURATION/BASE_TOOLCHAIN_CONFIGURATION
@ittaiz ittaiz merged commit 8c2f294 into bazelbuild:master Feb 22, 2021
wisechengyi pushed a commit to twitter-forks/rules_scala that referenced this pull request Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java_toolchain_javacopts_are_used broken on Bazel@HEAD
3 participants