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

enum classes final unless specialized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 1.4.0, 5.0
    • tools
    • b46
    • generic
    • generic, solaris_8

      The enum spec requires a compiler to generate final classes for the enum
      unless some enumeration constant is specialized. javac doesn't generate
      a final class unless the user declared it final.

            darcy Joe Darcy
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: