groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shil Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-8402) GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice
Date Tue, 12 Dec 2017 06:27:00 GMT

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

Shil Sinha resolved GROOVY-8402.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.14

> 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
>             Fix For: 2.4.14
>
>
> 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)

Mime
View raw message