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

spurious semicolons in class def cause empty NOPOS blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 7
    • 5.0, 7
    • tools
    • b112
    • generic
    • generic
    • Verified

      According to test/tools/javac/treepostest/TreePosTest.java, redundant semicolons in a class definition cause empty blocks with position == NOPOS to be included in the tree.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: