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

java.util.ArrayList requires SerialVersionUID

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.6
    • Verified



      Name: ooR10001 Date: 11/16/2000


      In jdk build 1.4.0beta-b40 java.util.ArrayList class implements new interface
      RandomAccess. This signature change was not approve by CCC and causes compatibility
      problem, because this class has no serialVersionUID field and its value calculated on
      class signature. Since jdk1.4 this value will be differ then expected and stream with
      serialized java.util.ArrayList object will be incorrect. Please, send out corresponding
      CCC request and define serialVersionUID field with appropriate value, or roll back this
      change.

      ======================================================================

            jjb Josh Bloch
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: