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

LinkedHashMap adds an errant serializable field

    XMLWordPrintable

Details

    Backports

      Description

        A new field 'putMode' had been added to LinkedHashMap in the initial Sequenced Collection implementation (JDK-8266571). Since the class is serializable, this resulted in an unintended change to the serial format. The field should be marked 'transient' to restore the previous serial format.

        Attachments

          Issue Links

            Activity

              People

                smarks Stuart Marks
                smarks Stuart Marks
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: