< prev index next >

src/java.base/share/classes/java/lang/Runtime.java

Print this page

        

@@ -444,11 +444,11 @@
      *          If {@code cmdarray} is an empty array
      *          (has length {@code 0})
      *
      * @see     ProcessBuilder
      */
-    public Process exec(String cmdarray[]) throws IOException {
+    public Process exec(String[] cmdarray) throws IOException {
         return exec(cmdarray, null, null);
     }
 
     /**
      * Executes the specified command and arguments in a separate process
< prev index next >