http://gwt-code-reviews.appspot.com/1451804/diff/1055/dev/core/src/com/google/gwt/dev/jjs/impl/UnifyAst.java
File dev/core/src/com/google/gwt/dev/jjs/impl/UnifyAst.java (right):

http://gwt-code-reviews.appspot.com/1451804/diff/1055/dev/core/src/com/google/gwt/dev/jjs/impl/UnifyAst.java#newcode606
dev/core/src/com/google/gwt/dev/jjs/impl/UnifyAst.java:606:
clinit.setBody(new JMethodBody(SourceOrigin.UNKNOWN));
On 2011/06/02 17:50:03, jbrosenberg wrote:
Hmmm....I'd think it would cause issues if multiple classes shared the
exact
same method body (even if it's empty).   Some will want to prune it,
others
won't, etc.  clinits can synthetically have calls to super() inserted
in them,
so they aren't all equivalent, in this case.

Is that a problem even if the methods aren't live?

http://gwt-code-reviews.appspot.com/1451804/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to