-
Bug
-
Resolution: Fixed
-
P4
-
8
-
8.0 b126
-
b03
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045121 | 8u25 | Alexander Zuev | P4 | Resolved | Fixed | b01 |
JDK-8033978 | 8u20 | Alexander Zuev | P4 | Resolved | Fixed | b03 |
JDK-8052560 | emb-8u26 | Alexander Zuev | P4 | Resolved | Fixed | b17 |
Compile any class e.g.
public class SimpleClass {
public void m() {
}
}
and get javap's output for the "-v -l" combination of options.
The LineNumberTable/LocalVariableTable tables are duplicated: the first occurrence immediately after the class/method declaration and the second is at the end of "Code" section:
....
{
public SimpleClass();
descriptor: ()V
flags: ACC_PUBLIC
LineNumberTable:
line 9: 0
LocalVariableTable:
Start Length Slot Name Signature
0 5 0 this LSimpleClass;
Code:
stack=1, locals=1, args_size=1
0: aload_0
1: invokespecial #1 // Method java/lang/Object."<init>":()V
4: return
LineNumberTable:
line 9: 0
LocalVariableTable:
Start Length Slot Name Signature
0 5 0 this LSimpleClass;
public void m();
descriptor: ()V
flags: ACC_PUBLIC
LineNumberTable:
line 11: 0
LocalVariableTable:
Start Length Slot Name Signature
0 1 0 this LSimpleClass;
Code:
stack=0, locals=1, args_size=1
0: return
LineNumberTable:
line 11: 0
LocalVariableTable:
Start Length Slot Name Signature
0 1 0 this LSimpleClass;
}
public class SimpleClass {
public void m() {
}
}
and get javap's output for the "-v -l" combination of options.
The LineNumberTable/LocalVariableTable tables are duplicated: the first occurrence immediately after the class/method declaration and the second is at the end of "Code" section:
....
{
public SimpleClass();
descriptor: ()V
flags: ACC_PUBLIC
LineNumberTable:
line 9: 0
LocalVariableTable:
Start Length Slot Name Signature
0 5 0 this LSimpleClass;
Code:
stack=1, locals=1, args_size=1
0: aload_0
1: invokespecial #1 // Method java/lang/Object."<init>":()V
4: return
LineNumberTable:
line 9: 0
LocalVariableTable:
Start Length Slot Name Signature
0 5 0 this LSimpleClass;
public void m();
descriptor: ()V
flags: ACC_PUBLIC
LineNumberTable:
line 11: 0
LocalVariableTable:
Start Length Slot Name Signature
0 1 0 this LSimpleClass;
Code:
stack=0, locals=1, args_size=1
0: return
LineNumberTable:
line 11: 0
LocalVariableTable:
Start Length Slot Name Signature
0 1 0 this LSimpleClass;
}
- backported by
-
JDK-8033978 LineNumberTable/LocalVariableTable tables duplication for the "-v -l" combination of options
-
- Resolved
-
-
JDK-8045121 LineNumberTable/LocalVariableTable tables duplication for the "-v -l" combination of options
-
- Resolved
-
-
JDK-8052560 LineNumberTable/LocalVariableTable tables duplication for the "-v -l" combination of options
-
- Resolved
-