lambda bugs? referencing instance variable from lambda body
forax at univ-mlv.fr
Thu Sep 12 23:33:00 PDT 2013
On 09/13/2013 02:58 AM, Brian Goetz wrote:
>> However, please confirm that even without "this.", lambda always
>> captures only "this", it never captures the instance variables' values
>> at the time of lambda creation.
> That is how it is supposed to work, yes. Any member capture becomes a
> capture of 'this'.
Like with inner classes.
More information about the lambda-dev