groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thibault Kruse <tibokr...@googlemail.com>
Subject Re: What the... static compile by default
Date Mon, 07 May 2018 14:27:47 GMT
Git blame seems to indicate April 13th 2018, and it seems to be
related to this ticket:
https://issues.apache.org/jira/browse/GROOVY-8543

On Mon, May 7, 2018 at 11:05 PM, C├ędric Champeau
<cedric.champeau@gmail.com> wrote:
> Hi folks,
>
> Sorry to be the bad cop again, but when the heck did this land into core:
>
> https://github.com/apache/groovy/blob/5443e87882f9b88169876f6d043ed54b5ae9023b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java#L943-L988
>
> As much as I love static compilation, this should never have landed into
> master, at least not without an agreement. I strongly believe enabling
> static compilation by default using a system property is a bad thing. We
> already have an official, supported mechanism for this, which is documented
> [1], so adding one silently is not very nice. I reckon lots of users want to
> have static compilation by default, but I don't think a system property is
> the way to go.
>
> [1]
> http://docs.groovy-lang.org/latest/html/documentation/#_static_compilation_by_default

Mime
View raw message