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

Serialization of java.awt.GridBagLayout has compatibility problem

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description



      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.

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: