http://gwt-code-reviews.appspot.com/1464804/diff/4001/dev/core/src/com/google/gwt/dev/javac/MemoryUnitCache.java
File dev/core/src/com/google/gwt/dev/javac/MemoryUnitCache.java (right):

http://gwt-code-reviews.appspot.com/1464804/diff/4001/dev/core/src/com/google/gwt/dev/javac/MemoryUnitCache.java#newcode108
dev/core/src/com/google/gwt/dev/javac/MemoryUnitCache.java:108: public
void addArchivedUnit(CompilationUnit newUnit) {
Hmmm...well, maybe we shouldn't pull in previous units from a previous
compile if they are from an incompatible version.   Shouldn't we try to
ensure that all units in a gwtar file have the same serialization
version (even if from multiple compiles?).

http://gwt-code-reviews.appspot.com/1464804/diff/4001/dev/core/src/com/google/gwt/dev/javac/MemoryUnitCache.java#newcode109
dev/core/src/com/google/gwt/dev/javac/MemoryUnitCache.java:109: if
(((CachedCompilationUnit) newUnit).getTypesSerializedVersion() !=
GwtAstBuilder
Well, if that's true, then you'd get a class cast exception with the
above code, no?

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

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

Reply via email to