Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8033913

Incorrect indentation of StackMapTable entries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8
    • tools
    • 8.0 b126

    • b04
    • Verified

        Obtain the javap's output that contains StackMapTable
        (e.g. "-verbose",
        public class A {
            public void a() {
                for (int i = 0; i < 10; i++) {
                    System.out.println(i);
                }
            }
        }
        )
        The alignment of entries looks illogical:

        StackMapTable: number_of_entries = 2
                   frame_type = 252 /* append */
                  offset_delta = 2
                  locals = [ int ]
                     frame_type = 250 /* chop */
                    offset_delta = 18

              jjg Jonathan Gibbons
              ogb Oleg Barbashov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: