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/04/26 16:02:04 UTC
[jira] [Updated] (GROOVY-6184) Make ClassHelper consistent in how
it creates ClassNodes
[ https://issues.apache.org/jira/browse/GROOVY-6184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King updated GROOVY-6184:
------------------------------
Fix Version/s: (was: 2.5.0-alpha-1)
2.4.11
> Make ClassHelper consistent in how it creates ClassNodes
> --------------------------------------------------------
>
> Key: GROOVY-6184
> URL: https://issues.apache.org/jira/browse/GROOVY-6184
> Project: Groovy
> Issue Type: Improvement
> Components: Compiler
> Reporter: Andrew Eisenberg
> Assignee: Cédric Champeau
> Fix For: 2.4.11
>
>
> The ClassHelper class in almost all cases creates class nodes for its static fields using the {{makeWithoutCaching}} method. There are 2 exceptions: {{Annotation}} and {{Enum}}. My understanding is that this is a holdover from the pre-Java5 days. The problem is that this has huge memory ramifications on Groovy-Eclipse. So, I would like to see this changed.
> See this branch for what I am talking about:
> https://github.com/aeisenberg/groovy-core/tree/ClassHelper-ClassNode-generation
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)