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] [Updated] (GROOVY-8402) GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice
Date Mon, 04 Dec 2017 00:14:09 GMT

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

Shil Sinha updated GROOVY-8402:
-------------------------------
    Component/s:     (was: Compiler)
                 GroovyScriptEngine

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

Mime
View raw message