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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: