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

Fix java version parsing when _JAVA_OPTIONS are returned from 'java -version' #1115

Merged

Conversation

cheister
Copy link
Collaborator

#1069 broke the case where java -version returns

Picked up _JAVA_OPTIONS:

in the first line of the version string

@cheister cheister force-pushed the fix-java-options-in-java-version branch from abec53a to 2420cb1 Compare April 27, 2024 21:43
Copy link
Collaborator

@shs96c shs96c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for the test too!

@cheister cheister merged commit e39a761 into bazel-contrib:master Apr 28, 2024
8 checks passed
@cheister cheister deleted the fix-java-options-in-java-version branch April 28, 2024 00:08
copybara-service bot pushed a commit to tink-crypto/tink-java-apps that referenced this pull request Jul 2, 2024
Use `rules_jvm_external@4f56f7cec2fa3a47e34d48b8f6293785cfad7e3a` [1] to avoid similar issues to [2] on macOS. This requires using Java 11.

[1] bazel-contrib/rules_jvm_external@4f56f7c
[2] bazel-contrib/rules_jvm_external#1115

PiperOrigin-RevId: 648704962
Change-Id: Iec949a1a933b0d7f196ea1c7f459545932c10ec1
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