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

Compiler should set ACC_FINAL for enum types with no constant-specific members

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • tools
    • generic
    • generic

      The JSR-201 Public Review Draft Spec says that enum types do not have constant-specific members should be final, but the compiler doesn't set the ACC_FINAL VM flag for such types.

            gafter Neal Gafter (Inactive)
            jjb Josh Bloch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: