-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
sparc
-
solaris_2.6
Name: ygR10224 Date: 08/08/2003
Filed By : SPB JCK team (###@###.###)
JDK : java full version "1.5.0-beta-b13"
JCK : 1.5
Platform[s] : Solaris
switch/Mode :
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] : api/java_awt/Container/serial/index.html#Constructor
Problem description
===================
Field "private java.awt.Dimension maxSize" has been removed in JDK1.5.0-b13
and serial form for java.awt.Container class has been changed. Java Object
Serialization Specification declares field deleting as incompatible change:
http://java.sun.com/j2se/1.4.1/docs/guide/serialization/spec/version.doc7.html
"Incompatible changes to classes are those changes for which the guarantee of
interoperability cannot be maintained. The incompatible changes that may occur
while evolving a class are:
* Deleting fields - If a field is deleted in a class, the stream written will
not contain its value. When the stream is read by an earlier class,
the value of the field will be set to the default value because no value is
available in the stream. However, this default value may adversely impair
the ability of the earlier version to fulfill its contract."
So, this should be treated as JDK regression.
Besides, as it was decided on the Serialization Compatibility meeting
01-Feb-2001, any incompatible change to serial form in terms of Java Object
Serialization Specification (which was agreed to be valid), including the
deletion of the serializable field, still require CCC submittal.
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
Specific Machine Info:
=====================
SunOS helmet 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-2
======================================================================
- duplicates
-
JDK-4902607 REGRESSION: JCK1.5-runtime api/java_awt/Container/serial/index.html#Constructor
- Closed
- relates to
-
JDK-4916421 REGRESSION: JCK1.5-runtime api/java_awt/Color/ICC_ColorSpace/..Constructor fails
- Closed
-
JDK-4916419 REGRESSION: JCK1.5-runtime api/java_awt/Color/ICC_ColorSpace/..Constructor fails
- Closed