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

Incorrect format and indentation of InnerClasses section

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 8
    • tools
    • 8.0 b129

    • b30
    • Verified

        Obtain the javap's output for any class that contains the inner class declaration
        (e.g. "-verbose"
        "public class A {
            public class B {
            }
        }")

        An output looks like:
        ................
          SourceFile: "A.java"
          InnerClasses:
               public #5= #4 of #2; //B=class A$B of class A
          minor version: 0
        ................

        1. The inner class entry has additional 3-space indent.
        2. No space after the comment symbols "//".
        3. Comment's position is not appended by current indentation

              aeremeev Andrei Eremeev
              ogb Oleg Barbashov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: