test/hotspot/jtreg/runtime/CommandLine/VMOptionWarning.java
changeset 52396 e292e94b448a
parent 47774 69c081ca110a
--- a/test/hotspot/jtreg/runtime/CommandLine/VMOptionWarning.java	Fri Nov 02 16:26:11 2018 -0700
+++ b/test/hotspot/jtreg/runtime/CommandLine/VMOptionWarning.java	Fri Nov 02 16:27:55 2018 -0700
@@ -53,8 +53,8 @@
         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");
+        pb = ProcessTools.createJavaProcessBuilder("-XX:+CheckCompressedOops", "-version");
         output = new OutputAnalyzer(pb.start());
-        output.shouldContain("Error: VM option 'ExecuteInternalVMTests' is notproduct and is available only in debug version of VM.");
+        output.shouldContain("Error: VM option 'CheckCompressedOops' is notproduct and is available only in debug version of VM.");
     }
 }