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 attach to IBM J9 JVMs #782

Merged
merged 2 commits into from
Nov 26, 2019
Merged

Fix attach to IBM J9 JVMs #782

merged 2 commits into from
Nov 26, 2019

Conversation

htreu
Copy link
Contributor

@htreu htreu commented Nov 25, 2019

IBM provided J9 JVMs have the java.vm.vendor property set to "IBM Corporation". This fails the "J9" check to select the net.bytebuddy.agent.VirtualMachine$ForOpenJ9 for attachment.
Looking at the following matrix this should select on the java.vm.name property:

IBM J9: java.vm.vendor=IBM Corporation, java.vm.name=IBM J9 VM
IBM openJ9: java.vm.vendor=IBM Corporation, java.vm.name=IBM J9 VM
AdoptOpenJDK openJ9: java.vm.vendor=Eclipse OpenJ9, java.vm.name=Eclipse OpenJ9 VM

@raphw raphw self-assigned this Nov 26, 2019
@raphw raphw added the bug label Nov 26, 2019
@raphw raphw added this to the 1.10.3 milestone Nov 26, 2019
@raphw raphw merged commit 7af09d4 into raphw:master Nov 26, 2019
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.

2 participants