Instrumenter fails on enum with single semicolon in body

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.0.2
    • Affects Version/s: 2 final
    • Component/s: None
    • None

      public enum Foo

      { ; }

      This fails in Clover but passes in javac. The problem is enumBody states that the constant block is mandatory when in fact it is optional.

              Assignee:
              Michael Studman (Inactive)
              Reporter:
              Michael Studman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: