United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6902264 fix indentation of tableswitch and lookupswitch
JDK-6902264 : fix indentation of tableswitch and lookupswitch

Details
Type:
Enhancement
Submit Date:
2009-11-17
Status:
Closed
Updated Date:
2012-01-17
Project Name:
JDK
Resolved Date:
2012-01-17
Component:
tools
OS:
generic
Sub-Component:
javap
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports

Sub Tasks

Description
From ###@###.###

And tableswitch bytecode is not indented properly. Not a big deal, but just thought of letting you know.
      84: tableswitch   { //0 to 2
       0: 112
       1: 123
       2: 134
       default: 142 }
switch index and bytecode index are mixed

                                    

Comments
EVALUATION

Yes.
                                     
2009-11-17
EVALUATION

Indent past the PC, and use formatted printing for the case labels to align the right ends of those labels.
                                     
2009-11-17



Hardware and Software, Engineered to Work Together