Results for “java array string file command error example site:bugs.java.com”
bugs.java.com
Java Issue Tracker - Home - Java Issue Tracker
File an issue Hitting a snag with your Java application and can't find anything in search? Have a small enhancement suggestion for the JDK? File a new issue!
bugs.java.com
Bug ID: JDK-4262372 Spaces in command-line parameters removed...
The following program executes the command first with the string array, then with the string: import java.io.*It seems as though the array method of exec is removing both spaces and also adding a 'blank' final parameter, and the string version is collapsing the two spaces down to one.