jdk/test/tools/launcher/MiscTests.java
changeset 42693 6645de32a866
parent 41915 ffd2dc160173
child 43248 5e15de85a1a0
--- a/jdk/test/tools/launcher/MiscTests.java	Wed Dec 14 19:46:21 2016 +0100
+++ b/jdk/test/tools/launcher/MiscTests.java	Wed Dec 14 10:51:13 2016 -0800
@@ -80,8 +80,8 @@
         createFile(new File(mainClass + ".java"), scratch);
 
         compile(mainClass + ".java",
-                "--add-modules=jdk.crypto.pkcs11",
-                "--add-exports=jdk.crypto.pkcs11/sun.security.pkcs11=ALL-UNNAMED");
+                "--add-modules=jdk.crypto.token",
+                "--add-exports=jdk.crypto.token/sun.security.pkcs11=ALL-UNNAMED");
 
         File testJar = new File("Foo.jar");
         testJar.delete();