Results for “java array string file command example code site:bugs.java.com”
bugs.java.com
Bug ID: JDK-6294060 Use of substring() causes memory leak
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.
bugs.java.com
Bug ID: JDK-4262372 Spaces in command-line parameters removed...
Output of java -version: java version "1.2.2" Classic VM (build JDK-1.2.2-W, native threads, symcjit).The following program executes the command first with the string array, then with the string: import java.io.*