diff -r 97247477b481 -r 6645de32a866 jdk/test/tools/launcher/MiscTests.java --- 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();