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

(enum) Serialized Form javadoc for java.lang.Enum is misleading

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 12
    • core-libs
    • None
    • minimal
    • Java API
    • SE

      Summary

      The abstract class java.lang.Enum should be excluded from the serialized form page since enum types have special handling in serialization.

      Problem

      It is misleading to include java.lang.Enum in the serialized form page because enum types have special handling in serialization.

      Solution

      Add "@serial exclude" to the class-level javadoc of java.lang.Enum.

      Specification

      The serialized form page omits any listing for java.lang.Enum.

            darcy Joe Darcy
            gyisunw Gyi Gyi (Inactive)
            Lance Andersen, Roger Riggs, Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: