SG, but why not extract it to a shared class instead of copying? The index is immutable, and you'll end up building it twice (non-trivial cost) with this change as it's currently written - once for AbstractCompiler and once for JdtCompiler (right?).
http://gwt-code-reviews.appspot.com/1318802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors