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 46
46
import jdk .jpackage .test .Annotations .Parameter ;
47
47
import jdk .jpackage .test .Annotations .ParameterSupplier ;
48
48
import jdk .jpackage .internal .util .function .ThrowingConsumer ;
49
- // import jdk.tools.jlink.internal.LinkableRuntimeImage;
49
+ import jdk .tools .jlink .internal .LinkableRuntimeImage ;
50
50
import static jdk .jpackage .test .RunnablePackageTest .Action .CREATE_AND_UNPACK ;
51
51
52
52
/*
@@ -79,7 +79,7 @@ public static Collection<?> addModulesParams() {
79
79
private static boolean isAllModulePathCapable () {
80
80
Path jmods = Path .of (System .getProperty ("java.home" ), "jmods" );
81
81
boolean noJmods = Files .notExists (jmods );
82
- if (noJmods ) {
82
+ if (LinkableRuntimeImage . isLinkableRuntime () && noJmods ) {
83
83
TKit .trace ("ALL-MODULE-PATH test skipped for linkable run-time image" );
84
84
return false ;
85
85
}
You can’t perform that action at this time.
0 commit comments