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

Remove serial warning from java.lang.Enum

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Subcomponent:
    • Introduced In Version:
      5.0
    • Resolved In Build:
      b01

      Description

      The current code for java.lang.Enum generates a serial lint warning since the class does not declare a serialVesionUID. However, since concrete enum types are special cased in serialization, a serialVersionUID on the abstract superclass of enums is not needed.

        Attachments

          Activity

            People

            Assignee:
            darcy Joe Darcy
            Reporter:
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: