gwt /
gwt /
8df9b538853f8b958e2b75c0b808e81faf718aef Fix CompilationStateBuilder for units that fail JDT compile.
Units that fail JDT compiler might be saved as cached units; these
might be resolved later and need their dependency information
to invalidate other units.
All the other information collected and checks performed in
UnitProcessorImpl that require traversing the JDT AST have
been turned off for units that fail JDT compile; when
units fail JDT compile, their JDT ASTs are left in an
inconsistent state that might cause exceptions when traversing.
This patch fixes a breakage when superdevmode recompiles
due to having units with JDT errors incorrectly represented.
TODO: have a saner approach to units that fail to compile
under JDT.
Change-Id: I8c9d7a59d4f4be424b81ba1a46993924e9ffc126
1 file changed