Skip to content

Commit f9c6fa8

Browse files
authored
Merge pull request ibmruntimes#536 from Amulya-Mallola/Fix_Arrrghs
Correct expected error message for invalid JVM option -W in Arrrghs.java
2 parents 454ce22 + 2e40ae5 commit f9c6fa8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/jdk/tools/launcher/Arrrghs.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
* or visit www.oracle.com if you need additional information or have any
2121
* questions.
2222
*/
23+
/*
24+
* ===========================================================================
25+
* (c) Copyright IBM Corp. 2025, 2025 All Rights Reserved
26+
* ===========================================================================
27+
*/
2328

2429
/**
2530
* @test
@@ -473,7 +478,7 @@ void testBasicErrorMessages() {
473478
// command line, '% java -jar -W', note the bogus -W
474479
tr = doExec(javaCmd, "-jar", "-W");
475480
tr.checkNegative();
476-
tr.contains("Unrecognized option: -W");
481+
tr.contains("Command-line option unrecognised: -W");
477482
if (!tr.testStatus)
478483
System.out.println(tr);
479484
}

0 commit comments

Comments
 (0)