< prev index next >

test/hotspot/jtreg/runtime/appcds/MismatchedUseAppCDS.java

Print this page
rev 49875 : [mq]: first.patch

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, 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.

@@ -57,11 +57,11 @@
                              // command-line arguments ...
                              use_whitebox_jar,
                              "-XX:-UseAppCDS",
                              "-XX:+UnlockDiagnosticVMOptions",
                              "-XX:+WhiteBoxAPI",
-                             "CheckIfShared", "false");
+                             "CheckIfShared", "true");
     TestCommon.checkExec(output);
 
     // (2): dump with -XX:-UseAppCDS, but run with -XX:+UseAppCDS
     TestCommon.testDump(appJar, TestCommon.list("CheckIfShared"),
                         // command-line arguments ...

@@ -72,9 +72,9 @@
                              // command-line arguments ...
                              use_whitebox_jar,
                              "-XX:+UseAppCDS",
                              "-XX:+UnlockDiagnosticVMOptions",
                              "-XX:+WhiteBoxAPI",
-                             "CheckIfShared", "false");
+                             "CheckIfShared", "true");
     TestCommon.checkExec(output);
   }
 }
< prev index next >