JDK-4350466 : Serialization of java.awt.GridBagLayout has compatibility problem
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 2000-07-05
  • Updated: 2000-07-05
  • Resolved: 2000-07-05
Related Reports
Duplicate :  
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.

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