-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
x86, sparc
-
linux, solaris_2.6, solaris_7, windows_95
It is returning incorrect event value when it is testing the Read and Write.
****************************************************************************
Failing Test:
=============
api/java_awt/Event/serialization/descriptions.html#Events
JCK :
=====
JCK13a
Test source location:
====================
/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_awt/Event/serialization/EventsTests.java
Platforms:
=============
Solaris 2.7 - sparc
2.6 - intel
Red Hat 6.2
Windows 95
JDK, switches Info:
===================
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b51)
Java HotSpot(TM) Client VM (build 1.4beta-B51, mixed mode)
default switch.
jtr file location:
==================
jtr file of the sparc.
file:/net/jtg-s117/export/home/jtg-test/JH_jdk14_b51_jck13a/workDir/api/java_awt/Event/serialization/descriptions_Events.jtr
How to reproduce:
====================
Run the attached script:
Event_seria_desc_Events.ksh
start script
-------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4
TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
JCK=${TESTBASE}/JCK-runtime-13a
executeClass=javasoft.sqe.tests.api.java.awt.Event.serialization.EventsTests
excludeCmd=
executeClassArgs=
executeTestURL="-TestURL file:/net/jtgb4u4c.eng/export/sail16/JCK/jck13afcs/JCK-
runtime-13a/tests/api/java_awt/Event/serialization/descriptions.html#Events -Fil
eName events.ser"
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.rmi.activation.port=javasoft.sqe.tests.api.java.awt.Event.serialization.E
ventsTests ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
----
end script.
Test output:
=============
testRead: Failed. Equals test, expected: javasoft.sqe.tests.api.java.awt.Event.serialization.Events@23e5d1, received: javasoft.sqe.tests.api.java.awt.Event.serialization.Events@44fe76
testWrite: Failed. Equals test, expected: javasoft.sqe.tests.api.java.awt.Event.serialization.Events@23e5d1, received: javasoft.sqe.tests.api.java.awt.Event.serialization.Events@4ecfdd
STATUS:Failed.tests: 2; failed: 2; first test case failure: testRead
Specific Machine Info:
=====================
Sparc
-----
Hostname: jtg-s117
Hostid: 808fe83f
Release: 5.7
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: javasoft.eng.sun.com
Kernel version: SunOS 5.7 Generic 106541-12 May 2000
===========
Status of processor 0 as of: 02/13/01 12:37:23
Processor has been on-line since 01/17/01 13:34:53.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Status of processor 2 as of: 02/13/01 12:37:23
Processor has been on-line since 01/17/01 13:34:54.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
===========
Solaris 7 11/99 s998s_u4SunServer_10 SPARC
Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
Assembled 15 October 1999
===========
Intel
-----
Hostname: jtg-i106
Hostid: 37b6d455
Release: 5.7
Kernel architecture: i86pc
Application architecture: i386
Hardware provider:
Domain: javasoft.eng.sun.com
Kernel version: SunOS 5.7 Generic 106542-12 May 2000
===========
Status of processor 0 as of: 02/13/01 11:56:08
Processor has been on-line since 01/17/01 12:57:37.
The i386 processor operates at 335 MHz,
and has an i387 compatible floating point processor.
Status of processor 1 as of: 02/13/01 11:56:08
Processor has been on-line since 01/17/01 12:57:37.
The i386 processor operates at 335 MHz,
and has an i387 compatible floating point processor.
===========
Solaris 7 s998_21al2b INTEL
Copyright 1998 Sun Microsystems, Inc. All Rights Reserved.
Assembled 06 October 1998
===========
Additional JCK related info:
============================
URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto
****************************************************************************
Failing Test:
=============
api/java_awt/Event/serialization/descriptions.html#Events
JCK :
=====
JCK13a
Test source location:
====================
/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_awt/Event/serialization/EventsTests.java
Platforms:
=============
Solaris 2.7 - sparc
2.6 - intel
Red Hat 6.2
Windows 95
JDK, switches Info:
===================
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b51)
Java HotSpot(TM) Client VM (build 1.4beta-B51, mixed mode)
default switch.
jtr file location:
==================
jtr file of the sparc.
file:/net/jtg-s117/export/home/jtg-test/JH_jdk14_b51_jck13a/workDir/api/java_awt/Event/serialization/descriptions_Events.jtr
How to reproduce:
====================
Run the attached script:
Event_seria_desc_Events.ksh
start script
-------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4
TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
JCK=${TESTBASE}/JCK-runtime-13a
executeClass=javasoft.sqe.tests.api.java.awt.Event.serialization.EventsTests
excludeCmd=
executeClassArgs=
executeTestURL="-TestURL file:/net/jtgb4u4c.eng/export/sail16/JCK/jck13afcs/JCK-
runtime-13a/tests/api/java_awt/Event/serialization/descriptions.html#Events -Fil
eName events.ser"
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.rmi.activation.port=javasoft.sqe.tests.api.java.awt.Event.serialization.E
ventsTests ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
----
end script.
Test output:
=============
testRead: Failed. Equals test, expected: javasoft.sqe.tests.api.java.awt.Event.serialization.Events@23e5d1, received: javasoft.sqe.tests.api.java.awt.Event.serialization.Events@44fe76
testWrite: Failed. Equals test, expected: javasoft.sqe.tests.api.java.awt.Event.serialization.Events@23e5d1, received: javasoft.sqe.tests.api.java.awt.Event.serialization.Events@4ecfdd
STATUS:Failed.tests: 2; failed: 2; first test case failure: testRead
Specific Machine Info:
=====================
Sparc
-----
Hostname: jtg-s117
Hostid: 808fe83f
Release: 5.7
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: javasoft.eng.sun.com
Kernel version: SunOS 5.7 Generic 106541-12 May 2000
===========
Status of processor 0 as of: 02/13/01 12:37:23
Processor has been on-line since 01/17/01 13:34:53.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Status of processor 2 as of: 02/13/01 12:37:23
Processor has been on-line since 01/17/01 13:34:54.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
===========
Solaris 7 11/99 s998s_u4SunServer_10 SPARC
Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
Assembled 15 October 1999
===========
Intel
-----
Hostname: jtg-i106
Hostid: 37b6d455
Release: 5.7
Kernel architecture: i86pc
Application architecture: i386
Hardware provider:
Domain: javasoft.eng.sun.com
Kernel version: SunOS 5.7 Generic 106542-12 May 2000
===========
Status of processor 0 as of: 02/13/01 11:56:08
Processor has been on-line since 01/17/01 12:57:37.
The i386 processor operates at 335 MHz,
and has an i387 compatible floating point processor.
Status of processor 1 as of: 02/13/01 11:56:08
Processor has been on-line since 01/17/01 12:57:37.
The i386 processor operates at 335 MHz,
and has an i387 compatible floating point processor.
===========
Solaris 7 s998_21al2b INTEL
Copyright 1998 Sun Microsystems, Inc. All Rights Reserved.
Assembled 06 October 1998
===========
Additional JCK related info:
============================
URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto
- duplicates
-
JDK-4410088 JCK: api/java_awt/Event/InputEvent/descriptions.html#InputEvent fails
- Closed