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 for Java fingerprinter on macOS #9225

Merged
merged 4 commits into from
Nov 1, 2020
Merged

Conversation

angrycub
Copy link
Contributor

Fixes #7865

Found that /usr/libexec/java_home will provide information about whether or not a JVM is installed and not stimulate the "Install a JVM" popup window that running the shim commands do.

drivers/java/driver.go Outdated Show resolved Hide resolved
drivers/java/utils.go Outdated Show resolved Hide resolved
@angrycub
Copy link
Contributor Author

Smoke testing allowed me to remove and install a JVM under a running Nomad without getting a popup at any point. Health updated as you would expect.

@angrycub angrycub requested a review from cgbaker October 29, 2020 20:56
Copy link
Contributor

@cgbaker cgbaker left a comment

Choose a reason for hiding this comment

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

👍

@angrycub angrycub merged commit b5e6326 into master Nov 1, 2020
@angrycub angrycub deleted the f-macos-java-fingerprint-fix branch November 1, 2020 18:20
angrycub added a commit that referenced this pull request Nov 1, 2020
changelog entry for #9225
angrycub added a commit that referenced this pull request Nov 2, 2020
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[enhancement] Update Java driver fingerprinting for macOS
3 participants