Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4024

Don't use classloader for analyzing compiled classes in groovyc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0, 2.3.9, 2.4.0-rc-1
    • 2.5.0-alpha-1
    • class generator
    • 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

      Attachments

        Activity

          People

            melix Cédric Champeau
            gromopetr Peter Gromov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: