Name: iaR10016 Date: 08/14/2001
JDK : JDK1.4.0-beta-b75
JCK : JCK1.4 b08
Platform[s] : RedHat Linux 7.1, Windows NT 4.0
switch/Mode : Compiler
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/java_rmi/activation/Activatable/serial/index.html#Constructor
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-compiler-14/tests/api/java_rmi/activation/Activatable/serial/ConstructorTests.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail16/results/merlin/b75/jck14/linux/redhat7.1_smp_gnome_compiler_linux-24/workDir/api/java_rmi/activation/Activatable/serial/index_Constructor.jtr
How to reproduce:
====================
Run the following script under RedHat Linux 7.1
(probably, you need to change JCK, JAVA_HOME, JAVA_REF and WORKDIR paths):
--------Script START---------------------
#!/bin/sh
JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
JAVA_REF=/net/jdk/export/disk8/local.java/jdk1.3.1/linux-i386
JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-compiler-14
WORKDIR=./classes
export CLASSPATH="$WORKDIR:$JCK/classes:$JCK/javatest.jar"
$JAVA_REF/bin/rmid &
echo "Running rmid..."
$JAVA_HOME/bin/javac -d $WORKDIR $JCK/tests/api/java_rmi/activation/Activatable/serial/ConstructorTests.java
echo "Compilation is finished"
$JAVA_HOME/bin/rmic -d $WORKDIR javasoft.sqe.serial.stub.ActivatableStub
echo "Rmic is finished"
$REF_JDK/bin/java javasoft.sqe.tests.api.java.rmi.activation.Activatable.serial.ConstructorTests
---------Script END----------------------
Test output:
=============
Running rmid...
Compilation is finished
Rmic is finished
java.lang.IllegalArgumentException: Field java.rmi.activation.Activator activatornot assignable to type java.rmi.server.UID
at javasoft.sqe.serial.StreamObject.setObjectField(StreamObject.java:327)
at javasoft.sqe.serial.StreamObjectInputStream.inputFields(StreamObjectInputStream.java:641)
at javasoft.sqe.serial.StreamObjectInputStream.defaultReadStreamObject(StreamObjectInputStream.java:607)
at javasoft.sqe.serial.StreamObjectInputStream.inputStreamObject(StreamObjectInputStream.java:584)
at javasoft.sqe.serial.StreamObjectInputStream.readStreamObject(StreamObjectInputStream.java:126)
at javasoft.sqe.serial.StreamObjectInputStream.inputFields(StreamObjectInputStream.java:641)
at javasoft.sqe.serial.StreamObjectInputStream.defaultReadStreamObject(StreamObjectInputStream.java:607)
at javasoft.sqe.serial.StreamObjectInputStream.inputStreamObject(StreamObjectInputStream.java:587)
at javasoft.sqe.serial.StreamObjectInputStream.readStreamObject(StreamObjectInputStream.java:126)
at javasoft.sqe.serial.util.Convert.objectToStreamObject(Convert.java:43)
at javasoft.sqe.tests.api.java.rmi.activation.Activatable.serial.ConstructorTests.serial2001(ConstructorTests.java:82)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:135)
at javasoft.sqe.tests.api.java.rmi.activation.Activatable.serial.ConstructorTests.main(ConstructorTests.java:42)
serial2001: Failed. Test case throws exception: java.lang.IllegalArgumentException: Field java.rmi.activation.Activator activatornot assignable to type java.rmi.server.UID
Creating StreamObject from Object
STATUS:Failed.tests: 1; failed: 1; first test case failure: serial2001
Specific Machine Info:
=====================
Hostname: linux-14
OS: RedHat Linux 7.1
Hostname: Linux-21
OS: Windows NT 4.0
======================================================================