United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6271787 javap dumps LocalVariableTypeTable attribute in hex, needs to print a table
JDK-6271787 : javap dumps LocalVariableTypeTable attribute in hex, needs to print a table

Details
Type:
Bug
Submit Date:
2005-05-17
Status:
Closed
Updated Date:
2011-07-15
Project Name:
JDK
Resolved Date:
2011-07-15
Component:
tools
OS:
generic
Sub-Component:
javap
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

Description
Given Java source:
public class HelloWorld extends java.lang.Object{
    public HelloWorld();
    public static void main(java.lang.String[]);
}

Compiled with 'javac -g -target 1.5', 'javap -verbose' prints this (just tail of output)
...
  LineNumberTable:
   line 3: 0
   line 4: 8
   line 5: 23
  LocalVariableTable:
   Start  Length  Slot  Name   Signature
   0      24      0    args       [Ljava/lang/String;
   8      16      1    l       Ljava/util/List;
  LocalVariableTypeTable: length = 0xC
   00 01 00 08 00 10 00 14 00 17 00 01            <---- HEX dump not that helpful


It would be helpful if this printed out a table like the LocalVariableTable.



###@###.### 2005-05-17 16:49:22 GMT

                                    

Comments
EVALUATION

Fixed in new javap
                                     
2007-11-01



Hardware and Software, Engineered to Work Together