-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b36
-
sparc
-
solaris_2.6
-
Verified
Name: ygR10224 Date: 12/24/2003
Filed By : SPB JCK team (###@###.###)
JDK : java full version "1.5.0-beta-b32"
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/javax_print/attribute/standard/Media/serial/index.html#Input[serial2002]
Specification excerpt:
======================
--------- J2SE API spec v.1.5 ---------
...
>From JOSS, ch. 4.6 "Stream Unique Identifiers":
The stream-unique identifier is a 64-bit hash of the class name, interface
class names, methods, and fields. The value must be declared in all versions
of a class except the first. It may be declared in the original class but
is
not required. The value is fixed for all compatible classes.
...
---------- end-of-excerpt ---------------
Problem description
===================
The serialVersionUID of
javax.print.attribute.standard.Media
has been changed in JDK1.5.0-beta-b32, so Serialized Form of
this class changed incompatibly:
<gyi@helmet> /set/java/jdk1.4.2/solaris/bin/serialver javax.print.attribute.standard.Media
javax.print.attribute.standard.Media: static final long serialVersionUID = -2823970704630722439L;
<gyi@helmet> /set/jdk-builds/JDK1.5.0b31/solaris-sparc/bin/serialver javax.print.attribute.standard.Media
javax.print.attribute.standard.Media: static final long serialVersionUID = -2823970704630722439L;
<gyi@helmet> /set/jdk-builds/JDK1.5.0b32/solaris-sparc/bin/serialver javax.print.attribute.standard.Media
javax.print.attribute.standard.Media: static final long serialVersionUID = 6815506557224513501L;
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
======================================================================
- relates to
-
JDK-4972803 Regression in MediaSize.findMedia method
-
- Closed
-