JDK-4351843 : java.awt.font.TransformAttribute lacks serialVersionUID
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2000-07-10
  • Updated: 2000-07-10
  • Resolved: 2000-07-10
Related Reports
Duplicate :  
Description

Name: vuR10080			Date: 07/10/2000

###@###.### 2000-07-10

When AWT components serialized with 1.3 are deserialized with 1.4 the
followign exception occurs:

java.io.InvalidClassException: java.awt.font.TransformAttribute;
    Local class not compatible:
    stream classdesc serialVersionUID=3356247357827709530
    local class serialVersionUID=-6989390531895433322

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

Comments
EVALUATION Name: vuR10080 Date: 07/10/2000 ###@###.### 2000-07-10 Fix for 4314043 introduced a new method. This changes the class hash used by serialization as default version UID. ======================================================================
11-06-2004

SUGGESTED FIX Name: vuR10080 Date: 07/10/2000 ###@###.### 2000-07-10 *** e:\tmp\geta312 Mon Jul 10 17:38:48 2000 --- TransformAttribute.java Mon Jul 10 17:38:12 2000 *************** *** 34,39 **** --- 34,41 ---- */ public final class TransformAttribute implements Serializable { + static final long serialVersionUID = 3356247357827709530L; + private AffineTransform transform; /** ======================================================================
11-06-2004