jdk/test/java/lang/SecurityManager/CheckSecurityProvider.java
changeset 42693 6645de32a866
parent 39501 f971def61cb8
child 43248 5e15de85a1a0
--- a/jdk/test/java/lang/SecurityManager/CheckSecurityProvider.java	Wed Dec 14 19:46:21 2016 +0100
+++ b/jdk/test/java/lang/SecurityManager/CheckSecurityProvider.java	Wed Dec 14 10:51:13 2016 -0800
@@ -62,7 +62,7 @@
         if (os.equals("SunOS")) {
             layer.findModule("jdk.crypto.ucrypto")
                 .ifPresent(m -> expected.add("com.oracle.security.ucrypto.UcryptoProvider"));
-            layer.findModule("jdk.crypto.pkcs11")
+            layer.findModule("jdk.crypto.token")
                 .ifPresent(m -> expected.add("sun.security.pkcs11.SunPKCS11"));
         }
         expected.add("sun.security.provider.Sun");
@@ -91,7 +91,7 @@
             expected.add("apple.security.AppleProvider");
         }
         if (!os.equals("SunOS")) {
-            layer.findModule("jdk.crypto.pkcs11")
+            layer.findModule("jdk.crypto.token")
                 .ifPresent(m -> expected.add("sun.security.pkcs11.SunPKCS11"));
         }