Binary file test/jdk/sun/security/tools/jarsigner/JarSigning.keystore has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test/jdk/sun/security/tools/jarsigner/JarSigning.keystore.README Wed May 09 09:50:25 2018 +0800
@@ -0,0 +1,6 @@
+#JarSigning.keystore is generated with
+
+rm JarSigning.keystore
+keytool -genkeypair -keystore JarSigning.keystore -storepass bbbbbb -keypass bbbbbb -alias b -dname CN=b -keyalg DSA
+keytool -genkeypair -keystore JarSigning.keystore -storepass bbbbbb -keypass bbbbbb -alias c -dname CN=c -keyalg RSA
+keytool -genkeypair -keystore JarSigning.keystore -storepass bbbbbb -keypass bbbbbb -alias d -dname CN=d -keyalg EC
--- a/test/jdk/sun/security/tools/jarsigner/JarSigningNonAscii.java Tue May 08 20:59:58 2018 -0400
+++ b/test/jdk/sun/security/tools/jarsigner/JarSigningNonAscii.java Wed May 09 09:50:25 2018 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@
/*
* @test
- * @bug 4924188
+ * @bug 4924188 8202816
* @summary sign a JAR file that has entry names with non-ASCII characters.
* @modules jdk.jartool/sun.security.tools.jarsigner
* @run main/othervm JarSigningNonAscii
@@ -42,7 +42,6 @@
private static String keystore;
public static void main(String[] args) throws Exception {
- Security.setProperty("jdk.jar.disabledAlgorithms", "");
String srcDir = System.getProperty("test.src", ".");
String destDir = System.getProperty("test.classes", ".");