line numbers policy change for "multiline" expressions

Jochen Theodorou blackdrag at gmx.org
Mon Jan 27 07:05:06 PST 2014


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.

bye Jochen

-- 
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org



More information about the lambda-dev mailing list