< prev index next >

test/hotspot/jtreg/runtime/CommandLine/VMOptionWarning.java

Print this page
rev 52333 : imported patch 8213058

*** 51,60 **** pb = ProcessTools.createJavaProcessBuilder("-XX:+VerifyStack", "-version"); output = new OutputAnalyzer(pb.start()); output.shouldContain("Error: VM option 'VerifyStack' is develop and is available only in debug version of VM."); ! pb = ProcessTools.createJavaProcessBuilder("-XX:+ExecuteInternalVMTests", "-version"); output = new OutputAnalyzer(pb.start()); ! output.shouldContain("Error: VM option 'ExecuteInternalVMTests' is notproduct and is available only in debug version of VM."); } } --- 51,60 ---- pb = ProcessTools.createJavaProcessBuilder("-XX:+VerifyStack", "-version"); output = new OutputAnalyzer(pb.start()); output.shouldContain("Error: VM option 'VerifyStack' is develop and is available only in debug version of VM."); ! pb = ProcessTools.createJavaProcessBuilder("-XX:+CheckCompressedOops", "-version"); output = new OutputAnalyzer(pb.start()); ! output.shouldContain("Error: VM option 'CheckCompressedOops' is notproduct and is available only in debug version of VM."); } }
< prev index next >