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

Change Attachment.loadAgentLibrary() to a static method #17919

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

JasonFengJ9
Copy link
Member

Change Attachment.loadAgentLibrary() to a public static method

Added a dummy arg for the native loadAgentLibraryImpl() to ensure that the current native method has the ClassLoader instance as its second argument required by jnimisc.cpp:getCurrentClassLoader().

related to

Signed-off-by: Jason Feng [email protected]

@JasonFengJ9 JasonFengJ9 requested a review from gacholio August 8, 2023 14:50
@JasonFengJ9 JasonFengJ9 changed the title Change Attachment.loadAgentLibrary() to a public static method Change Attachment.loadAgentLibrary() to a static method Aug 8, 2023
@gacholio
Copy link
Contributor

gacholio commented Aug 8, 2023

jenkins test sanity zlinux jdk8,jdk17

@gacholio
Copy link
Contributor

gacholio commented Aug 8, 2023

Please fix the spacing issue after testing completes and I'll merge without re-test.

Added a dummy arg for the native loadAgentLibraryImpl() to ensure that
the current native method has the ClassLoader instance as its second
argument required by jnimisc.cpp:getCurrentClassLoader().

Signed-off-by: Jason Feng <[email protected]>
@JasonFengJ9
Copy link
Member Author

@gacholio gacholio merged commit a333b54 into eclipse-openj9:master Aug 9, 2023
@JasonFengJ9 JasonFengJ9 deleted the staticnative branch August 9, 2023 11:07
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.

3 participants