8199425: JTReg failure: runtime/stringtable/StringTableVerifyTest.java
Summary: Adding required -XX:+UnlockDiagnosticVMOptions flag to StringTableVerifyTest.java
Reviewed-by: coleenp, kvn
--- 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);
}