JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... constructor, and accesses a method of the outer class. An example ... code for inner class constructors in the wrong order. Therefore ...
Feb 5, 1997 ... ... constructor, and accesses a method of the outer class. An example ... code for inner class constructors in the wrong order. Therefore ...
Sep 7, 2004 ... With the new 1.5.0RC this is broken (see example code) STEPS TO ... protected String getClassName(Object o) { String classString = o ...
5.1.11 defines _string conversion_ for primitive types in terms of a wrapper class constructor call followed by a 'toString' call. The wrapper class constructors are now deprecated for removal, and JLS should not depend on them.
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.