Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

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

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

babsingh
Copy link
Member

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]

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

fyi @pshipton @keithc-ca

@pshipton
Copy link
Member

jenkins test sanity.openjdk alinux64 jdk18

@pshipton
Copy link
Member

2 failures

java/lang/StringBuilder/HugeCapacity.java.HugeCapacity seems caused by the exclude file change adoptium/aqa-tests#3211

java/lang/reflect/IllegalArgumentsTest.java.IllegalArgumentsTest is mentioned at eclipse-openj9/openj9#14084 (comment) so I guess it was already failing.

@pshipton
Copy link
Member

pshipton commented Feb 4, 2022

@babsingh can you pls port this to jdk17, we've got a test failing in the builds tonight that needs (at least) this fix.
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_aarch64_linux_Nightly/115

@babsingh
Copy link
Member Author

babsingh commented Feb 4, 2022

can you pls port this to jdk17?

done: ibmruntimes/openj9-openjdk-jdk17#66

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants