-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add JNI registration Attach API #11199
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
base: master
Are you sure you want to change the base?
Add JNI registration Attach API #11199
Conversation
Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application. When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated. If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public. |
Signed-off-by: jonghoonpark <[email protected]>
142ea03
to
ff384ab
Compare
Thank you for signing the OCA. |
I tested out and the funcitonality seems to be working. I used this procedure:
|
Thank you for sharing the detailed testing procedure. |
related issue: #11103
I resolved an issue where using the attach method in an application built with native-image resulted in the error:
java.lang.UnsatisfiedLinkError: Can't load library: attach
Additionally, during implementation, I discovered that in applications built with native-image,
VirtualMachine.list()
returns an empty list.(This was not addressed in this PR.)