changeset 24830:2fbbde433861

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
author ctornqvi
date Wed, 28 May 2014 22:59:29 +0200
parents ce92ec4efb1a
children e4df2f64bb2e
files hotspot/test/runtime/CommandLine/TestHexArguments.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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");
   }