JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... This is a problem because Java allows subclass methods to be run from the superclass constructor. // ... constructor, you use an accessor method ...
Feb 5, 1997 ... This is a problem because Java allows subclass methods to be run from the superclass constructor. // ... constructor, you use an accessor method ...
User code that wants to indicate that some error has occurred during initialization should use some other exception type. The no-arg and String-bearing constructors initialize the "cause" to null, which results in subsequent calls to initCause() always throwing IllegalStateException.
... java.lang.Class objects are now limited to the following methods: ... Applications which use static ProtectionDomain objects (created using the 2-arg constructor) ...
Maybe have the static factory methods grouped after the constructors in the javadoc. In one instance this would be beneficial since some constructors will be private and thus uninstantiable by normal conventions.
In addition I would like to manage correctly all events such as SIGINT, user end session (WM_QUERYENDSESSION), but it seems that we can't call the dispose method on a JFrame in a shutdown hook (it runs perfectly on Linux but blocks on Windows).