jdk/test/tools/pack200/Utils.java
changeset 38421 f75f729fdc5c
parent 36948 8727362c1c78
child 40261 86a49ba76f52
--- a/jdk/test/tools/pack200/Utils.java	Wed May 18 16:36:52 2016 -0700
+++ b/jdk/test/tools/pack200/Utils.java	Wed May 18 11:31:23 2016 -0700
@@ -33,7 +33,6 @@
 import java.io.InputStreamReader;
 import java.io.PrintStream;
 import java.net.URI;
-import java.net.URL;
 import java.nio.charset.Charset;
 import java.nio.file.attribute.BasicFileAttributes;
 import java.nio.file.FileSystem;
@@ -483,9 +482,15 @@
         }
         return out;
     }
+
+    static List<String> runExec(String... cmds) {
+        return runExec(Arrays.asList(cmds));
+    }
+
     static List<String> runExec(List<String> cmdsList) {
         return runExec(cmdsList, null);
     }
+
     static List<String> runExec(List<String> cmdsList, Map<String, String> penv) {
         ArrayList<String> alist = new ArrayList<String>();
         ProcessBuilder pb =