File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/jdk/tools/jpackage/share Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4646import jdk .jpackage .test .Annotations .Parameter ;
4747import jdk .jpackage .test .Annotations .ParameterSupplier ;
4848import jdk .jpackage .internal .util .function .ThrowingConsumer ;
49- // import jdk.tools.jlink.internal.LinkableRuntimeImage;
49+ import jdk .tools .jlink .internal .LinkableRuntimeImage ;
5050import 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 }
You can’t perform that action at this time.
0 commit comments