# HG changeset patch # User weijun # Date 1516146920 -28800 # Node ID 20ed1cebe5f8d28ba360312030b5a79fd8b3fd94 # Parent 82c3d4173a533b052bcd638e0c207a3c891b6d38 8195119: Fine-tune output text in keytool Reviewed-by: mullan diff -r 82c3d4173a53 -r 20ed1cebe5f8 src/java.base/share/classes/sun/security/tools/keytool/Resources.java --- a/src/java.base/share/classes/sun/security/tools/keytool/Resources.java Tue Jan 16 22:24:20 2018 +0000 +++ b/src/java.base/share/classes/sun/security/tools/keytool/Resources.java Wed Jan 17 07:55:20 2018 +0800 @@ -462,7 +462,7 @@ {"with.weak", "%s (weak)"}, {"key.bit", "%1$d-bit %2$s key"}, {"key.bit.weak", "%1$d-bit %2$s key (weak)"}, - {"unknown.size.1", "unknown size %s key"}, + {"unknown.size.1", "%s key of unknown size"}, {".PATTERN.printX509Cert.with.weak", "Owner: {0}\nIssuer: {1}\nSerial number: {2}\nValid from: {3} until: {4}\nCertificate fingerprints:\n\t SHA1: {5}\n\t SHA256: {6}\nSignature algorithm name: {7}\nSubject Public Key Algorithm: {8}\nVersion: {9}"}, {"PKCS.10.with.weak",