changeset 49413:6171c007410a

8199425: JTReg failure: runtime/stringtable/StringTableVerifyTest.java Summary: Adding required -XX:+UnlockDiagnosticVMOptions flag to StringTableVerifyTest.java Reviewed-by: coleenp, kvn
author dstewart
date Fri, 09 Mar 2018 23:03:28 -0500
parents 7fa5375fa6fd
children 66ba2092464c
files test/hotspot/jtreg/runtime/stringtable/StringTableVerifyTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }