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/03 23:10:00 UTC

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

Shil Sinha created GROOVY-8402:
----------------------------------

             Summary: GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice
                 Key: GROOVY-8402
                 URL: https://issues.apache.org/jira/browse/GROOVY-8402
             Project: Groovy
          Issue Type: Bug
    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)