8043786: [TESTBUG] runtime/CommandLine/TestHexArguments.java test fails in nightly
authorctornqvi
Wed, 28 May 2014 22:59:29 +0200
changeset 24830 2fbbde433861
parent 24829 ce92ec4efb1a
child 24831 e4df2f64bb2e
8043786: [TESTBUG] runtime/CommandLine/TestHexArguments.java test fails in nightly Summary: Changed test to not pass on external flags to child processes Reviewed-by: coleenp, hseigel
hotspot/test/runtime/CommandLine/TestHexArguments.java
--- a/hotspot/test/runtime/CommandLine/TestHexArguments.java	Wed May 28 15:03:36 2014 +0000
+++ b/hotspot/test/runtime/CommandLine/TestHexArguments.java	Wed May 28 22:59:29 2014 +0200
@@ -35,14 +35,14 @@
 public class TestHexArguments {
     public static void main(String args[]) throws Exception {
       String[] javaArgs = {"-XX:SharedBaseAddress=0x1D000000", "-version"};
-      ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(true, javaArgs);
+      ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(javaArgs);
 
       OutputAnalyzer output = new OutputAnalyzer(pb.start());
       output.shouldNotContain("Could not create the Java Virtual Machine");
       output.shouldHaveExitValue(0);
 
       String[] javaArgs1 = {"-XX:SharedBaseAddress=1D000000", "-version"};
-      pb = ProcessTools.createJavaProcessBuilder(true, javaArgs1);
+      pb = ProcessTools.createJavaProcessBuilder(javaArgs1);
       output = new OutputAnalyzer(pb.start());
       output.shouldContain("Could not create the Java Virtual Machine");
   }