equal
deleted
inserted
replaced
45 |
45 |
46 pb = ProcessTools.createJavaProcessBuilder("-XX:+PrintInlining", "-version"); |
46 pb = ProcessTools.createJavaProcessBuilder("-XX:+PrintInlining", "-version"); |
47 output = new OutputAnalyzer(pb.start()); |
47 output = new OutputAnalyzer(pb.start()); |
48 output.shouldContain("Error: VM option 'PrintInlining' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions."); |
48 output.shouldContain("Error: VM option 'PrintInlining' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions."); |
49 |
49 |
50 pb = ProcessTools.createJavaProcessBuilder("-XX:+TraceJNICalls", "-version"); |
50 pb = ProcessTools.createJavaProcessBuilder("-XX:+VerifyStack", "-version"); |
51 output = new OutputAnalyzer(pb.start()); |
51 output = new OutputAnalyzer(pb.start()); |
52 output.shouldContain("Error: VM option 'TraceJNICalls' is develop and is available only in debug version of VM."); |
52 output.shouldContain("Error: VM option 'VerifyStack' is develop and is available only in debug version of VM."); |
53 |
53 |
54 pb = ProcessTools.createJavaProcessBuilder("-XX:+TraceJVMCalls", "-version"); |
54 pb = ProcessTools.createJavaProcessBuilder("-XX:+ExecuteInternalVMTests", "-version"); |
55 output = new OutputAnalyzer(pb.start()); |
55 output = new OutputAnalyzer(pb.start()); |
56 output.shouldContain("Error: VM option 'TraceJVMCalls' is notproduct and is available only in debug version of VM."); |
56 output.shouldContain("Error: VM option 'ExecuteInternalVMTests' is notproduct and is available only in debug version of VM."); |
57 } |
57 } |
58 } |
58 } |