-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
sparc
-
solaris_2.6
Name: ygR10224 Date: 03/23/2004
Filed By : SPB JCK team (###@###.###)
JDK : java full version "1.5.0-beta2-b43"
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/HeadlessException/serial/index.html#Input
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 java.awt.HeadlessException
has been changed in JDK1.5.0-beta2-b43, so Serialized Form of
this class has been changed incompatibly:
<gyi@orion> /set/java/jdk1.4.2/solaris/bin/serialver java.awt.HeadlessException
java.awt.HeadlessException: static final long serialVersionUID = 167183644944358563L;
<gyi@orion> /net/orion/export/JDK1.5.0b42/solaris-sparc/bin/serialver java.awt.HeadlessException
java.awt.HeadlessException: static final long serialVersionUID = 167183644944358563L;
<gyi@orion> /net/orion/export/JDK1.5.0b43/solaris-sparc/bin/serialver java.awt.HeadlessException
java.awt.HeadlessException: static final long serialVersionUID = -4399492591008105442L;
JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
======================================================================
- duplicates
-
JDK-5018616 JCK1.5-runtime api/java_awt/HeadlessException/serial/index.html#Input fails
-
- Closed
-