bugs.java.com
JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... In the code for the Inner constructor, you use an accessor method to ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... In the code for the Inner constructor, you use an accessor method to ... For example, the following program would fail at runtime: <pre> ...
For example, "static Integer Integer.valueOf(String)" fits this pattern and is indeed a static factory. What surprised me was how extensive static factories are used in the JDK. Integer doesn't just have a static factory, for example; it has six
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.