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

Add missing update to the shared class cache search path #8

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

theresa-m
Copy link
Contributor

@theresa-m theresa-m commented Jan 9, 2025

URLClassPath.getResource(String name, boolean check) was removed in 24
due to the security manager removal. The OpenJ9 patch to updated the
scc's search path was lost because of this change.

Copied from Java 23: https://github.com/ibmruntimes/openj9-openjdk-jdk23/blob/openj9/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java#L420-L422

Related to eclipse-openj9/openj9#20702

Port to next: ibmruntimes/openj9-openjdk-jdk#914

URLClassPath.getResource(String name, boolean check) was removed in 24
 due to the security manager removal. The OpenJ9 patch to update the
scc's search path was lost because of this change.

Signed-off-by: Theresa Mammarella <[email protected]>
@pshipton
Copy link
Member

pshipton commented Jan 9, 2025

Should this be enabling the test? I guess that will be done in a follow up OpenJ9 change.

@theresa-m
Copy link
Contributor Author

Should this be enabling the test? I guess that will be done in a follow up OpenJ9 change.

Yes. Sorry I didn't have a chance to open the related changes before the end of the day yesterday.

@keithc-ca
Copy link
Member

Jenkins test sanity.functional alinux jdk24

@keithc-ca
Copy link
Member

Copy link
Member

@keithc-ca keithc-ca left a comment

Choose a reason for hiding this comment

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

No unexpected test failures.

@keithc-ca keithc-ca merged commit 379377b into ibmruntimes:openj9 Jan 10, 2025
3 of 5 checks passed
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