You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Shil Sinha (JIRA)" <ji...@apache.org> on 2017/12/04 00:14:00 UTC

[jira] [Updated] (GROOVY-8402) GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice

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

Shil Sinha updated GROOVY-8402:
-------------------------------
    Component/s: Compiler

> GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice
> --------------------------------------------------------------------------
>
>                 Key: GROOVY-8402
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8402
>             Project: Groovy
>          Issue Type: Bug
>          Components: GroovyScriptEngine
>    Affects Versions: 2.4.13
>            Reporter: Shil Sinha
>            Assignee: Shil Sinha
>
> ScriptClassLoader.createCompilationUnit calls super.createCompilationUnit, which initializes a new CompilationUnit. As phase operations for compilation customizers are already added in the constructor for CompilationUnit, they should not be added again at the end of ScriptClassLoader.createCompilationUnit.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)