groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C├ędric Champeau <cedric.champ...@gmail.com>
Subject What the... static compile by default
Date Mon, 07 May 2018 14:05:08 GMT
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