< prev index next >

jdk/test/tools/launcher/MiscTests.java

Print this page

        

@@ -68,11 +68,11 @@
      */
     static void test6856415() throws IOException {
 
         final String mainClass = "Foo6856415";
         final String exportOpts
-            = "-XaddExports:jdk.crypto.pkcs11/sun.security.pkcs11=ALL-UNNAMED";
+            = "--add-exports=jdk.crypto.pkcs11/sun.security.pkcs11=ALL-UNNAMED";
 
         List<String> scratch = new ArrayList<>();
         scratch.add("public class Foo6856415 {");
         scratch.add("public static void main(String... args) {");
         scratch.add("java.security.Provider p = new sun.security.pkcs11.SunPKCS11();");
< prev index next >