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

Extra empty line between field declarations for the "-v -c" and "-v -l" combination of options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: tools
    • Environment:

      8.0 b126

    • Subcomponent:
    • Resolved In Build:
      b03
    • Verification:
      Verified

      Backports

        Description

        Compile a simple class with two ore more fields, e.g.
        public class SimpleClass {
            public int a;
            public int b;
        }
        Get the javap's output for the "-v -c" (or "-v -l") set of option. The "field" sections are separated by two empty lines:
        ......
          public int a;
            descriptor: I
            flags: ACC_PUBLIC


          public int b;
            descriptor: I
            flags: ACC_PUBLIC


          public SimpleClass();
        ......

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: