Skip to content

Commit 9bdf9eb

Browse files
author
Justin Lu
committed
8360416: Incorrect l10n test case in sun/security/tools/keytool/i18n.java
Reviewed-by: hchao Backport-of: 5540a7859b3ae0faf6b6c7f50e53ff611b253a9f
1 parent 7b69679 commit 9bdf9eb

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

test/jdk/sun/security/tools/keytool/i18n.java

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@
2323

2424
/*
2525
* @test
26-
* @bug 4348369 8076069 8294994
26+
* @bug 4348369 8076069 8294994 8360400
2727
* @summary keytool i18n compliant
2828
* @author charlie lai
2929
* @modules java.base/sun.security.tools.keytool
@@ -33,7 +33,7 @@
3333

3434
/*
3535
* @test
36-
* @bug 4348369 8076069 8294994
36+
* @bug 4348369 8076069 8294994 8360400
3737
* @summary keytool i18n compliant
3838
* @author charlie lai
3939
* @modules java.base/sun.security.tools.keytool
@@ -43,7 +43,7 @@
4343

4444
/*
4545
* @test
46-
* @bug 4348369 8076069 8294994
46+
* @bug 4348369 8076069 8294994 8360400
4747
* @summary keytool i18n compliant
4848
* @author charlie lai
4949
* @modules java.base/sun.security.tools.keytool
@@ -53,7 +53,7 @@
5353

5454
/*
5555
* @test
56-
* @bug 4348369 8076069 8294994
56+
* @bug 4348369 8076069 8294994 8360400
5757
* @summary keytool i18n compliant
5858
* @author charlie lai
5959
* @modules java.base/sun.security.tools.keytool
@@ -95,10 +95,6 @@ public class i18n {
9595
+ "512-bit DSA key algorithm for CN=Name, OU=Java, "
9696
+ "O=Oracle, L=City, ST=State C=Country."},
9797

98-
{"-list -v -storepass a -keystore ./i18n.keystore",
99-
"Output in ${LANG}. Check keytool error:java.io.IOException: "
100-
+ "keystore password was incorrect."},
101-
10298
{"-genkey -keyalg DSA -v -keysize 512 "
10399
+ "-storepass password "
104100
+ "-keypass password "

0 commit comments

Comments
 (0)