RFR - JDK-8218650: LineNumberTable records for method invocations with arguments

Vicente Romero vicente.romero at oracle.com
Thu Feb 21 18:22:56 UTC 2019



On 2/21/19 12:02 PM, Maurizio Cimadamore wrote:
>
> On 21/02/2019 16:49, Maurizio Cimadamore wrote:
>>
>> I guess what I'm arguing is not that we should add LNT - but that I 
>> see no solid basis for doing this for methods, but not for field 
>> access. If 8218628 will cure us from all sins :-) then the same 
>> argument surely could be applied to method access?
>>
> Where I'm truly going with this is - we never really collected a list 
> of use cases as to when it would be nice to have a LNT generated; 
> there are many use cases out there, from debuggers to static analysis 
> tools (code coverage, findbugs...) and each of these might be affected 
> in subtle ways. Heck, once we've even stumbled upon a bug where 
> missing LNT entry was causing the JRockit VM to crash ;-)
>
> So, I think that, stepping back from this specific issue, we should 
> try (with the help of the community :-)) to identify the conditions 
> under which it would be desirable to have a LNT entry, and come up 
> with some sort of informal javac spec for that.
+1
>
> Maurizio
>
>



More information about the compiler-dev mailing list