[jira] [Commented] (GROOVY-8543) Support setting compileStatic by default via system properties

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (GROOVY-8543) Support setting compileStatic by default via system properties

JIRA jira@apache.org

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

Jochen Theodorou commented on GROOVY-8543:
------------------------------------------

[~daniel_sun] what you need for your phoenix plan is not the groovy static compiler, so "groovy.compile.static.by.default" is the wrong property for this. What you need is a java compilation mode. It will differ in method selection and flow typing, and maybe a few other small things. They can share a lot of the code, especially for generics, but it is a second static compiler.

> Support setting compileStatic by default via system properties
> --------------------------------------------------------------
>
>                 Key: GROOVY-8543
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8543
>             Project: Groovy
>          Issue Type: New Feature
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 3.0.0-alpha-2, 2.6.0-alpha-4
>
>
> Enable compile static by default via `-Dgroovy.compile.static=true`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)