8199425: JTReg failure: runtime/stringtable/StringTableVerifyTest.java
authordstewart
Fri, 09 Mar 2018 23:03:28 -0500
changeset 49408 6171c007410a
parent 49407 7fa5375fa6fd
child 49409 66ba2092464c
8199425: JTReg failure: runtime/stringtable/StringTableVerifyTest.java Summary: Adding required -XX:+UnlockDiagnosticVMOptions flag to StringTableVerifyTest.java Reviewed-by: coleenp, kvn
test/hotspot/jtreg/runtime/stringtable/StringTableVerifyTest.java
--- a/test/hotspot/jtreg/runtime/stringtable/StringTableVerifyTest.java	Fri Feb 16 09:43:26 2018 +0000
+++ b/test/hotspot/jtreg/runtime/stringtable/StringTableVerifyTest.java	Fri Mar 09 23:03:28 2018 -0500
@@ -35,7 +35,7 @@
 
 public class StringTableVerifyTest {
     public static void main(String[] args) throws Exception {
-        ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+VerifyStringTableAtExit", "-version");
+        ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UnlockDiagnosticVMOptions", "-XX:+VerifyStringTableAtExit", "-version");
         OutputAnalyzer output = new OutputAnalyzer(pb.start());
         output.shouldHaveExitValue(0);
     }