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

Correct shared library suffix on macOS #158

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

keithc-ca
Copy link
Contributor

@pshipton
Copy link
Contributor

pshipton commented Oct 2, 2024

I'm not sure why we need this or what side affects it might have. There is no failure in the head stream.
https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_extended.system_aarch64_mac_Release/86 is failing on the 0.48 release because eclipse-openj9/openj9#20202 isn't delivered there yet.

String nativeExt;
if (PlatformFinder.isOSX()) {
nativeExt = ".dylib";
} else if (PlatformFinder.isWindows()) {
Copy link
Contributor

@pshipton pshipton Oct 2, 2024

Choose a reason for hiding this comment

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

The whole block is inside !PlatformFinder.isWindows() so checking PlatformFinder.isWindows() doesn't seem useful.

@pshipton
Copy link
Contributor

pshipton commented Oct 2, 2024

This change breaks the test on Mac. I will revert it.
Agent library /Users/jenkins/workspace/Grinder/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses.jvmti/bin/native/osx/libsharedClasses.dylib could not be opened (dlopen(/Users/jenkins/workspace/Grinder/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses.jvmti/bin/native/osx/libsharedClasses.dylib, 1): image not found)

@pshipton
Copy link
Contributor

pshipton commented Oct 2, 2024

Reverted via #159

@keithc-ca
Copy link
Contributor Author

This change was incomplete. I'll create a proper replacement shortly.

@pshipton
Copy link
Contributor

pshipton commented Oct 2, 2024

Pls make new changes as draft until they are tested.

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.

3 participants