Russel is looking to build GPars V2.0 as JDK8+ later this year, so timing for Groovy 3 would be nice.
Sent from my iPad > On 25 Jan 2017, at 16:43, Cédric Champeau <cedric.champ...@gmail.com> wrote: > > That's only ok once we generate Java 8+ class files only. Otherwise, you > create a language that, syntactically, supports static methods on interfaces, > but cannot compile them for older JDKs. Since we generate JDK 5+ class > formats, we cannot do this without upgrading our requirements, or adding > "conditional features". > > 2017-01-25 16:37 GMT+01:00 Daniel Sun <realblue...@hotmail.com>: >> Hi Cédric, >> >> > oh and that's written in the docs >> Groovy's documentation is so detail... it's hard for me to believe ;) >> >> BTW, Java 8 supports static methods and default methods in the interfaces, >> how about refining the implementation of traits based on the enhanced >> interfaces? then traits can have its own static methods and method >> implementation(based on the default method). >> >> Cheers, >> Daniel.Sun >> >> >> >> -- >> View this message in context: >> http://groovy.329449.n5.nabble.com/Traits-and-protected-properties-tp5738002p5738028.html >> Sent from the Groovy Dev mailing list archive at Nabble.com. >