LVT issue related to JDK-8047719
Liam Miller-Cushon
cushon at google.com
Wed Nov 26 00:54:31 UTC 2014
An LVT entry is no longer emitted for 'foo' in the following code. The
behaviour changed after the fix for JDK-8047719 [1]. Is this a bug?
class Test {
{
String foo = null;
}
}
Before:
LocalVariableTable:
Start Length Slot Name Signature
6 0 1 foo Ljava/lang/String;
0 7 0 this LTest;
After:
LocalVariableTable:
Start Length Slot Name Signature
0 7 0 this LTest;
[1] http://hg.openjdk.java.net/jdk9/jdk9/langtools/rev/855f8c7337eb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20141125/c921c1a1/attachment.html>
More information about the compiler-dev
mailing list