http://gwt-code-reviews.appspot.com/677801/diff/1/9
File dev/core/test/com/google/gwt/dev/jjs/impl/TempLocalVisitorTest.java
(right):

http://gwt-code-reviews.appspot.com/677801/diff/1/9#newcode87
dev/core/test/com/google/gwt/dev/jjs/impl/TempLocalVisitorTest.java:87:
public void testForStatement() throws Exception {
This simple unit test doesn't run the whole compiler, including any of
the long craziness, it's just a direct test of TempLocalVisitor.  The
thing is, simply compiling a for loop with a long incrementor does not
trigger the bug, because we never actually try to pull any items out of
the List<JExpressionStatement> as such; those increments statements only
ever get accessed via JVisitor, which never does a cast check.

http://gwt-code-reviews.appspot.com/677801/show

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

Reply via email to