From e41686b4050d6b32fb451de8af39a78ec8bed0fd Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Fri, 16 Dec 2022 05:16:40 +0000 Subject: [PATCH] 8298710: Fix typos in test/jdk/sun/security/tools/jarsigner/ Co-authored-by: Michael Ernst Reviewed-by: lancea --- .../javax/security/auth/x500/X500Principal/EscapedChars.java | 2 +- test/jdk/sun/security/tools/jarsigner/DigestDontIgnoreCase.java | 2 +- .../FindHeaderEndVsManifestDigesterFindFirstSection.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/jdk/javax/security/auth/x500/X500Principal/EscapedChars.java b/test/jdk/javax/security/auth/x500/X500Principal/EscapedChars.java index 23b995d6578..693ed910ba1 100644 --- a/test/jdk/javax/security/auth/x500/X500Principal/EscapedChars.java +++ b/test/jdk/javax/security/auth/x500/X500Principal/EscapedChars.java @@ -38,7 +38,7 @@ public class EscapedChars { System.out.println("RFC2253 DN is " + xp.getName(X500Principal.RFC2253)); - System.out.println("CANONICAL DN is is " + + System.out.println("CANONICAL DN is " + xp.getName(X500Principal.CANONICAL)); String dn1 = xp.getName(X500Principal.CANONICAL); diff --git a/test/jdk/sun/security/tools/jarsigner/DigestDontIgnoreCase.java b/test/jdk/sun/security/tools/jarsigner/DigestDontIgnoreCase.java index 24beb9f2f24..843a49bf33d 100644 --- a/test/jdk/sun/security/tools/jarsigner/DigestDontIgnoreCase.java +++ b/test/jdk/sun/security/tools/jarsigner/DigestDontIgnoreCase.java @@ -47,7 +47,7 @@ import static java.nio.charset.StandardCharsets.UTF_8; */ /* *
mfDigest.equalsIgnoreCase(base64Digests[i])
- * previously in JarSigner.java on on line 985 + * previously in JarSigner.java on line 985 * @see jdk.security.jarsigner.JarSigner#updateDigests */ public class DigestDontIgnoreCase { diff --git a/test/jdk/sun/security/tools/jarsigner/FindHeaderEndVsManifestDigesterFindFirstSection.java b/test/jdk/sun/security/tools/jarsigner/FindHeaderEndVsManifestDigesterFindFirstSection.java index e84edaf8e48..97436b76d31 100644 --- a/test/jdk/sun/security/tools/jarsigner/FindHeaderEndVsManifestDigesterFindFirstSection.java +++ b/test/jdk/sun/security/tools/jarsigner/FindHeaderEndVsManifestDigesterFindFirstSection.java @@ -217,7 +217,7 @@ public class FindHeaderEndVsManifestDigesterFindFirstSection { *
  • which is then passed on as the third parameter to the constructor * of a new {@link ManifestDigester.Section#Section} by *
    new Section(0, pos.endOfSection + 1, pos.startOfNext, rawBytes)));
    - * in in ManifestDigester.java:128
  • + * in ManifestDigester.java:128 *
  • where it is assigned to * {@link ManifestDigester.Section#lengthWithBlankLine} by *
    this.lengthWithBlankLine = lengthWithBlankLine;