Re: Investigating dynamic Lambda's for services

2014-05-29 Thread Peter Firmstone
In a word, no because the classes use standard java bytecode and methods. Standard serializable lambda's are brittle, any change in the encapsulating class can cause breakage during deserialization. What I'm looking at doing for lambda's that don't refer to their enclosing classes object meth

Re: Investigating dynamic Lambda's for services

2014-05-28 Thread Bryan Thompson
How stable is the lamba translation? If this changes or is different for different JVMs, will that break things? Bryan On Wed, May 28, 2014 at 8:29 AM, Peter wrote: > So far, a subset of Lambda's appear very suitable for marshalling > remotely, where their code can execute in a remote jvm. > >

Investigating dynamic Lambda's for services

2014-05-28 Thread Peter
So far, a subset of Lambda's appear very suitable for marshalling remotely, where their code can execute in a remote jvm. A lambda, that doesn't refer to object methods in its enclosing class, results in the java compiller creating a static method that accepts captured object arguments, contain