Skip to content

Commit bfe05fb

Browse files
Rollback BasicTest local build tweaks
1 parent a3779c4 commit bfe05fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jdk/tools/jpackage/share/BasicTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
import jdk.jpackage.test.Annotations.Parameter;
4747
import jdk.jpackage.test.Annotations.ParameterSupplier;
4848
import jdk.jpackage.internal.util.function.ThrowingConsumer;
49-
//import jdk.tools.jlink.internal.LinkableRuntimeImage;
49+
import jdk.tools.jlink.internal.LinkableRuntimeImage;
5050
import static jdk.jpackage.test.RunnablePackageTest.Action.CREATE_AND_UNPACK;
5151

5252
/*
@@ -79,7 +79,7 @@ public static Collection<?> addModulesParams() {
7979
private static boolean isAllModulePathCapable() {
8080
Path jmods = Path.of(System.getProperty("java.home"), "jmods");
8181
boolean noJmods = Files.notExists(jmods);
82-
if (noJmods) {
82+
if (LinkableRuntimeImage.isLinkableRuntime() && noJmods) {
8383
TKit.trace("ALL-MODULE-PATH test skipped for linkable run-time image");
8484
return false;
8585
}

0 commit comments

Comments
 (0)