src/java.base/share/classes/sun/security/tools/keytool/Resources.java
changeset 59104 046e4024e55a
parent 57580 691ce25ee015
--- a/src/java.base/share/classes/sun/security/tools/keytool/Resources.java	Thu Nov 14 16:34:24 2019 -0800
+++ b/src/java.base/share/classes/sun/security/tools/keytool/Resources.java	Fri Nov 15 09:06:58 2019 +0800
@@ -474,7 +474,7 @@
         {"migrate.keystore.warning", "Migrated \"%1$s\" to %4$s. The %2$s keystore is backed up as \"%3$s\"."},
         {"backup.keystore.warning", "The original keystore \"%1$s\" is backed up as \"%3$s\"..."},
         {"importing.keystore.status", "Importing keystore %1$s to %2$s..."},
-        {"keyalg.option.1.missing.warning", "No -keyalg option. The default key algorithm (%s) is a legacy algorithm and is no longer recommended. In a subsequent release of the JDK, the default will be removed and the -keyalg option must be specified."},
+        {"keyalg.option.missing.error", "The -keyalg option must be specified."},
 
         {"showinfo.no.option", "Missing option for -showinfo. Try \"keytool -showinfo -tls\"."},
     };