-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta
-
generic, x86, sparc
-
generic, linux, solaris_2.6, solaris_8, windows_98, windows_2000
-
Verified
ObjectInputStream.GetField.get() does not function properly for primitive
fields--it returns the provided default value even if the specified
primitive field exists in the incoming stream. The root of the problem is
that ObjectStreamField.getType() called on the ObjectStreamField for the field
returns Object.class instead of the expected primitive class, causing
ObjectStreamClass.getField()'s search for a matching field to erroneously
fail.
fields--it returns the provided default value even if the specified
primitive field exists in the incoming stream. The root of the problem is
that ObjectStreamField.getType() called on the ObjectStreamField for the field
returns Object.class instead of the expected primitive class, causing
ObjectStreamClass.getField()'s search for a matching field to erroneously
fail.
- duplicates
-
JDK-4431495 JCK1.3a: ScrollPane serialization tests fail
- Closed
-
JDK-4431717 JCK13a api/java_awt/serialization/descriptions.html#ScrollPane #CardLayout
- Closed
-
JDK-4444210 Serialization for java.awt.ScrollPane causes compatibility problem
- Closed
-
JDK-4449215 java.awt.ScrollPane.readObject() causes compatibility problem
- Closed
- relates to
-
JDK-4809897 ObjectStreamField.getType() returns Object.class for non-primitive types
- Closed