JDK-6902264 : fix indentation of tableswitch and lookupswitch
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javap
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-11-17
  • Updated: 2012-01-17
  • Resolved: 2012-01-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b78Fixed
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 Indent past the PC, and use formatted printing for the case labels to align the right ends of those labels.
17-11-2009

EVALUATION Yes.
17-11-2009