http://gwt-code-reviews.appspot.com/1618807/diff/1/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java File dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java (right):
http://gwt-code-reviews.appspot.com/1618807/diff/1/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java#newcode873 dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java:873: // setup the default value, see Issue 380
if every possible constructor writes to this field, then the default value isn't needed, since it will always be written.
The default value is also needed if any super cstr call then calls an overridden method that accesses the field in the subclass. The field can then be read before the subclass's init has been run, so, on the JVM at least, it sees the primitive's default value. So, AFAIU, skipping the default init here would require detecting that case was not in effect, which seems non-trivial. http://gwt-code-reviews.appspot.com/1618807/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
