2 parents 454ce22 + 2e40ae5 commit f9c6fa8Copy full SHA for f9c6fa8
1 file changed
test/jdk/tools/launcher/Arrrghs.java
@@ -20,6 +20,11 @@
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*/
23
+/*
24
+ * ===========================================================================
25
+ * (c) Copyright IBM Corp. 2025, 2025 All Rights Reserved
26
27
+ */
28
29
/**
30
* @test
@@ -473,7 +478,7 @@ void testBasicErrorMessages() {
473
478
// command line, '% java -jar -W', note the bogus -W
474
479
tr = doExec(javaCmd, "-jar", "-W");
475
480
tr.checkNegative();
476
- tr.contains("Unrecognized option: -W");
481
+ tr.contains("Command-line option unrecognised: -W");
477
482
if (!tr.testStatus)
483
System.out.println(tr);
484
}
0 commit comments