groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remi Forax <>
Subject Re: build requirements for Groovy and language level in master
Date Sat, 08 Apr 2017 14:29:28 GMT
technically, you do not need the jdk 9,
you can compile with jdk 8 and have a jar that contains the declaration of methods of the
jdk 9 you want.

JRuby had worked that way when it was jdk 6 compatible but optionally uses the java.lang.invoke


On April 8, 2017 10:11:51 AM GMT+02:00, Jochen Theodorou <> wrote:
>Hi all,
>so if we want to be serious about JDK9 support and not life with a 
>thousands of warnings displayed whenever you try to execute a Groovy 
>program or test (44k+ in our build for example)... then we will need 
>JDK9 specific code.
>That means we will have to change our build to support optional JDK9 
>code, like we did in the past several times already. That also means a 
>full build will require JDK9 a lower JDK will not make a full build 
>then. And once Cedric fixed JDK9 support in gradle... ahem... poor guy.
>Anyway, I would like to hear thoughts about this from the others.
>And then there is the matter of going to JDK8 master is supposed to be 
>Groovy 3 did we say we want to go to JDK8 here? I think that would be 
>nice... and of course if JDK8 is the minimum could start thinking about
>having indy enabled by default. Here too I would to hear what people
>bye Jochen

Sent from my Android device with K-9 Mail. Please excuse my brevity.
View raw message