File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
test/jdk/tools/jpackage/share Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -75,17 +75,14 @@ public static Collection<?> input() {
75
75
}
76
76
77
77
public JavaOptionsEqualsTest (String javaAppDesc , String [] jpackageArgs ) {
78
- cmd = JPackageCommand .helloAppImage (javaAppDesc );
79
- if (jpackageArgs != null ) {
80
- cmd .addArguments (jpackageArgs );
81
- }
78
+ cmd = JPackageCommand .helloAppImage (javaAppDesc ).ignoreDefaultRuntime (true );
79
+ cmd .addArguments (jpackageArgs );
82
80
}
83
81
84
82
@ Test
85
83
public void test () {
86
84
cmd .executeAndAssertHelloAppImageCreated ();
87
85
List <String > output = HelloApp .executeLauncher (cmd ).getOutput ();
88
- TKit .assertNotNull (output , "output is null" );
89
86
TKit .assertTextStream (WARNING1 ).apply (output .stream ());
90
87
TKit .assertTextStream (WARNING2 ).apply (output .stream ());
91
88
}
You can’t perform that action at this time.
0 commit comments