Reviewers: scottb,
Description:
Recompute whether an interface is dual-implemented by JSO and Java types
after each compiler optimization pass. Modify CastNormalizer to use
whether or not something is "effectively" JSO (an interface which is
ONLY implemented by a JSO but has not been type-tightened to JSO) as the
criteria for removing casts. Also change isJavaObject to account for
null JSOs (to handle reinterpret cast of null)
Please review this at http://gwt-code-reviews.appspot.com/1351801/show
Affected files:
M dev/core/src/com/google/gwt/dev/jjs/ast/JTypeOracle.java
M dev/core/src/com/google/gwt/dev/jjs/impl/CastNormalizer.java
M
dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Cast.java
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors