Reviewers: , Description: This patch fixes issue 4282 by making Array's instance methods always be in the initial download.
The problem is that, the way arrays are supported at run time, methods added to the Array class later on will not take effect, because there is a cache made of all of class Array's member methods. The result for issue 4282 is that calling getClass() on an array might not work. The getClass() method gets installed on Array, but the cache doesn't get updated. Please review this at http://gwt-code-reviews.appspot.com/132808 Affected files: dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java dev/core/test/com/google/gwt/dev/jjs/impl/CodeSplitterTest.java dev/core/test/com/google/gwt/dev/jjs/impl/OptimizerTestBase.java
-- http://groups.google.com/group/Google-Web-Toolkit-Contributors
