You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/07/22 04:22:02 UTC

[jira] [Closed] (GROOVY-9121) Default compiler configuration is modified by GroovyMain

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

Paul King closed GROOVY-9121.
-----------------------------

> Default compiler configuration is modified by GroovyMain
> --------------------------------------------------------
>
>                 Key: GROOVY-9121
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9121
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 3.0.0-beta-1, 2.5.7
>            Reporter: Eric Milles
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 2.5.8, 3.0.0-beta-2
>
>
> Follow up to GROOVY-9100.  Default compiler configuration is modified by {{groovy.ui.GroovyMain}} when "--indy" command line option is passed.  This causes an exception at runtime.
> {code:java}
>             if (indy) {
>                 CompilerConfiguration.DEFAULT.getOptimizationOptions().put("indy", true);
>                 main.conf.getOptimizationOptions().put("indy", true);
>             }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)