line numbers policy change for "multiline" expressions

Remi Forax forax at univ-mlv.fr
Mon Jan 27 14:27:10 PST 2014


On 01/27/2014 04:05 PM, Jochen Theodorou wrote:
> Am 27.01.2014 15:16, schrieb Remi Forax:
>> Hi Anna,
>> this change is unlikely be reverted, otherwise for a code like the one
>> below,
>> the lambda body will not have the right line number.
>>
>> list.stream()
>>        .filter(....)
>>        .map(x -> Integer.toString(x))
>>        .collect(...);
>
> I wished there would be some kind of spec for how the bytecode has to 
> look like for the debugger to be able to have breakpoints and step 
> debugging. At least the conditions for the former seems to differ from 
> the later.

+ 1

>
> bye Jochen
>

Rémi



More information about the lambda-dev mailing list