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

XMLWordPrintable

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

      8.0 b126

    • b03
    • Verified

        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();
        ......

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

                Created:
                Updated:
                Resolved: