From e282be59bc8454fcca37270c303eb61809e331ea Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Wed, 6 Mar 2024 00:49:36 +0100 Subject: [PATCH] Fix smoke-tests on linux-riscv64 for jdk11u (#3686) --- .../buildAndPackage/src/net/adoptium/test/FeatureTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/functional/buildAndPackage/src/net/adoptium/test/FeatureTests.java b/test/functional/buildAndPackage/src/net/adoptium/test/FeatureTests.java index 4360b6882..ff8aae312 100644 --- a/test/functional/buildAndPackage/src/net/adoptium/test/FeatureTests.java +++ b/test/functional/buildAndPackage/src/net/adoptium/test/FeatureTests.java @@ -74,7 +74,9 @@ public void testShenandoahAvailable() { if (jdkVersion.isNewerOrEqual(17) && jdkPlatform.runsOn(OperatingSystem.LINUX, Architecture.PPC64LE)) { shouldBePresent = true; } - if (jdkVersion.isNewerOrEqual(19) || jdkVersion.isNewerOrEqualSameFeature(17, 0, 9)) { + if (jdkVersion.isNewerOrEqual(19) + || jdkVersion.isNewerOrEqualSameFeature(17, 0, 9) + || jdkVersion.isNewerOrEqualSameFeature(11, 0, 23)) { if (jdkPlatform.runsOn(OperatingSystem.LINUX, Architecture.RISCV64)) { shouldBePresent = true; }