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

Serialization of java.awt.GridBagLayout has compatibility problem

XMLWordPrintable

    • sparc
    • solaris_2.6



      Name: ooR10001 Date: 07/05/2000


      structure of a class java.awt.GridBagLayout was changed in jdk1.4,
      but field serialVersionUID not defined. This causes a compatibility
      problem when deserialization from stream created by older jdk
      was made. In this case serialVersionUID value computed by private
      method computeSerialVersionUID() differs from a value in stream.
      Suggested fix is to define serialVersionUID field in java.awt.GridBagLayout.

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

            Unassigned Unassigned
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: