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

Update jdk.test.lib.Platform to work with J9 #391

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

babsingh
Copy link
Member

@babsingh babsingh commented Jan 13, 2022

isServer() updated to return true if java.vm.name contains OpenJ9 or IBM.

isDefaultCDSArchiveSupported() updated to return false if java.vm.name contains
OpenJ9 or IBM since J9 does not support the default CDS archive.

This is an updated fix for eclipse-openj9/openj9#14079.

Related: #390

Signed-off-by: Babneet Singh [email protected]

@babsingh
Copy link
Member Author

fyi @keithc-ca @pshipton

test/lib/jdk/test/lib/Platform.java Outdated Show resolved Hide resolved
test/lib/jdk/test/lib/Platform.java Outdated Show resolved Hide resolved
isServer() updated to return true if java.vm.name contains OpenJ9 or IBM.

isDefaultCDSArchiveSupported() updated to return false if java.vm.name contains
OpenJ9 or IBM since J9 does not support the default CDS archive.

This is an updated fix for eclipse-openj9/openj9#14079.

Related: ibmruntimes#390

Signed-off-by: Babneet Singh <[email protected]>
@keithc-ca keithc-ca requested a review from pshipton January 13, 2022 18:49
@pshipton
Copy link
Member

jenkins test sanity.openjdk alinux64 jdknext

@pshipton
Copy link
Member

There are too many failures. We don't have an exclude list for jdknext so all the tests that should be excluded are not. Pls port this change to jdk18 and I'll test it there.

babsingh added a commit to babsingh/openj9-openjdk-jdk18 that referenced this pull request Jan 13, 2022
isServer() updated to return true if java.vm.name contains OpenJ9 or IBM.

isDefaultCDSArchiveSupported() updated to return false if java.vm.name contains
OpenJ9 or IBM since J9 does not support the default CDS archive.

This is an updated fix for eclipse-openj9/openj9#14079.

Related: ibmruntimes/openj9-openjdk-jdk#390

Backport: ibmruntimes/openj9-openjdk-jdk#391

Signed-off-by: Babneet Singh <[email protected]>
@babsingh
Copy link
Member Author

Pls port this change to jdk18 and I'll test it there.

Created ibmruntimes/openj9-openjdk-jdk18#5.

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