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

Vicente Romero vicente.romero at oracle.com
Sat Feb 16 02:46:35 UTC 2019


Hi Eddie,

Thanks for the patch. But first I'm not sure that there is a bug in the 
LNT. There is an entry in the LNT, I'm talking about the example at [1], 
for the invocation of method `id`. What we need to understand is why the 
stack trace is not referring to that line and is referring to line 12. 
In any case I don't think that the LNT should contain entries for 
accesses to fields.

Thanks,
Vicente

[1] https://bugs.openjdk.java.net/browse/JDK-8218650

On 2/15/19 8:37 PM, Eddie Aftandilian wrote:
> Hi,
>
> I have attached a patch for JDK-8218650, in which there are missing 
> line number table entries for field accesses. This is my first attempt 
> to contribute to OpenJDK, so I'm happy to take feedback.  Please see 
> the attached patch.
>
> Bug report: https://bugs.openjdk.java.net/browse/JDK-8218650
>
> Thanks,
> Eddie Aftandilian



More information about the compiler-dev mailing list