http://gwt-code-reviews.appspot.com/1517803/diff/1/dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java File dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java (right):
http://gwt-code-reviews.appspot.com/1517803/diff/1/dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java#newcode59 dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java:59: cc.initUnit(this); This is the essence of what I want to do, but I've just realized that its going to create memory leaks, because the cached compilation units are likely copies of other types of units, meaning the class reference back to compilation unit will keep the cached compilation unit refs live. http://gwt-code-reviews.appspot.com/1517803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors