Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-50

Instrumenter fails on enum with single semicolon in body

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.0.2
    • 2 final
    • 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.

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

                Created:
                Updated:
                Resolved: