You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2016/01/22 20:30:39 UTC

[jira] [Created] (GEODE-832) Allow lambda expressions to be passed to dunit VM.invoke calls

Dan Smith created GEODE-832:
-------------------------------

             Summary: Allow lambda expressions to be passed to dunit VM.invoke calls
                 Key: GEODE-832
                 URL: https://issues.apache.org/jira/browse/GEODE-832
             Project: Geode
          Issue Type: Improvement
          Components: tests
            Reporter: Dan Smith


The dunit framework has a VM class with invoke and invokeAsync methods that take Runnable and Callable objects. 

It would be nice to use lambda expressions with VM.invoke, but the generated lambda is not serializable. We should create a new interface, SerializableRunnable/Callable, so that a lambda will be created implementing Serializable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)