From a99b5b5e8f7201e5173ba78a657bfa87bad75442 Mon Sep 17 00:00:00 2001
From: Alexey Bakhtin <alexey@azul.com>
Date: Wed, 4 Dec 2024 11:15:16 -0800
Subject: [PATCH] Fix ExtractFilesTest test

---
 jdk/test/tools/jar/ExtractFilesTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jdk/test/tools/jar/ExtractFilesTest.java b/jdk/test/tools/jar/ExtractFilesTest.java
index 717aa7d580..f3a7a60810 100644
--- a/jdk/test/tools/jar/ExtractFilesTest.java
+++ b/jdk/test/tools/jar/ExtractFilesTest.java
@@ -153,7 +153,7 @@ public void testWarningOnInvalidKeepOption() throws IOException {
                 "testfile2" + nl;
 
         Assertions.assertArrayEquals(baos.toByteArray(), output.getBytes());
-        Assertions.assertEquals("Warning: The -k/k option is not valid with current usage, will be ignored." + nl, err);
+        Assertions.assertEquals("Warning: The k option is not valid with current usage, will be ignored." + nl, err);
     }
 
     private Stream<Path> mkpath(String... args) {