Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.0, 2.3.9, 2.4.0-rc-1
-
None
Description
During incremental compilation in IDE some class files whose sources have been modified, get deleted. The remaining classes may still refer to the deleted ones, which may cause groovyc to fail with NCDFE while resolving class references in modified sources. This is possible to fix within IDE though it may slow down the compilation significantly, since it will require to search for all the classes that may cause NCDFE problem and add them for recompilation as well. Using ASM for reading class files on groovyc's side would be more robust.
The sample is described in http://youtrack.jetbrains.net/issue/IDEA-51924