bugs.java.com
JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... not work until after the superclass constructor has returned. For example, the following program would fail at runtime: <pre> class ...
Feb 5, 1997 ... ... not work until after the superclass constructor has returned. For example, the following program would fail at runtime: <pre> class ...
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)