[ 
https://issues.apache.org/jira/browse/GROOVY-8402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16287171#comment-16287171
 ] 

ASF GitHub Bot commented on GROOVY-8402:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/groovy/pull/641


> 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)

Reply via email to