You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2017/05/02 02:04:15 UTC

[jira] [Closed] (GROOVY-4024) Don't use classloader for analyzing compiled classes in groovyc

     [ https://issues.apache.org/jira/browse/GROOVY-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-4024.
-----------------------------

> Don't use classloader for analyzing compiled classes in groovyc
> ---------------------------------------------------------------
>
>                 Key: GROOVY-4024
>                 URL: https://issues.apache.org/jira/browse/GROOVY-4024
>             Project: Groovy
>          Issue Type: Improvement
>          Components: class generator
>    Affects Versions: 1.7.0, 2.3.9, 2.4.0-rc-1
>            Reporter: Peter Gromov
>            Assignee: Cédric Champeau
>             Fix For: 2.5.0-alpha-1
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)