< prev index next >

test/tools/launcher/MiscTests.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2017, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -78,12 +78,12 @@
         scratch.add("}");
         scratch.add("}");
         createFile(new File(mainClass + ".java"), scratch);
 
         compile(mainClass + ".java",
-                "--add-modules=jdk.crypto.token",
-                "--add-exports=jdk.crypto.token/sun.security.pkcs11=ALL-UNNAMED");
+                "--add-modules=jdk.crypto.cryptoki",
+                "--add-exports=jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED");
 
         File testJar = new File("Foo.jar");
         testJar.delete();
         String jarArgs[] = {
             (debug) ? "cvfe" : "cfe",
< prev index next >