git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Groovy 3 release


All of it is master with tests at the moment, as far as I've seen.

There are a couple of caveats:
1) The default interfaces are implemented using traits, not as actual default methods on interfaces.
2) Method and constructor references are implemented as closures.
3) Java lambdas compile into Closures, which do not directly support functional interfaces (so, in the examples shown for streams, proxies are made)

For 3: I'm currently working on a proposal to keep the closure semantics as they are, but also implementing the intended interfaces and adding the necessary bridge method. This would probably only work with static compilation, or at least some static assumptions.

-Jesper

> On 27 May 2018, at 12.45, Russel Winder <russel@xxxxxxxxxxxxx> wrote:
> 
> Hi,
> 
> How much of:
> 
> http://www.javamagazine.mozaicreader.com/MarApr2018/Twitter#&pageSet=61&page=0
> 
> is already in place with tests? Does this define the point at which 3.0.0 gets
> released and everything else gets punted to 4.0.0?
> 
> -- 
> Russel.
> ==========================================
> Dr Russel Winder      t: +44 20 7585 2200
> 41 Buckmaster Road    m: +44 7770 465 077
> London SW11 1EN, UK   w: www.russel.org.uk