bugs.java.com
JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... The reason is due to the various code transformations performed by the Java ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... The reason is due to the various code transformations performed by the Java ... For example, the following program would fail at runtime: <pre> ...
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!
This behaviour is totally independent of OS, Java Version, VM type etc. It's an error in java.lang.String source code which is the same for all JDK distributions.Create String from char array, release dummy char array. String longString = new String(bigCharArray)