-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
5.0
-
sparc
-
solaris_10
Name: mmR10223 Date: 10/20/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b24, JDK1.5.0-b23, JDK1.5.0-b22 (passes with JDK1.5.0-b21, JDK1.4.2-b28)
JCK : JCK1.5-runtime (b06)
Platform[s] : Solaris 10 (sparc, x86)
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/java_security/SecureRandom/serial/index.html#Constructor [serial2001]
JCK1.5-runtime api/java_security/SecureRandom/serial/index.html#Constructor test fails with JDK1.5.0-b24
on Solaris 10 (sparc, x86) only but passes using JDK1.5.0-b21, JDK1.4.2-b28.
It also passes on other Solaris and Linux, Windows.
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_security/SecureRandom/serial/ConstructorTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b24/jck15/sparc/sol10_sparc_gnome_plugin_ns6.1_linux-8/workDir/api/java_security/SecureRandom/serial/index_Constructor.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b24/binaries/"
JCK="/java/re/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
#Alternative paths outside Java Software:
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b24/binaries/"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
#Alternative paths for the NSK site:
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.security.SecureRandom.serial.ConstructorTests -TestCaseID serial2001
--- script end ---
Test output:
============
ava.lang.IllegalArgumentException: Field java.security.Provider providernot assignable to type sun.security.pkcs11.SunPKCS11$SunPKCS11Rep
at javasoft.sqe.serial.StreamObject.setObjectField(StreamObject.java:318)
at javasoft.sqe.serial.StreamObjectInputStream.inputFields(StreamObjectInputStream.java:632)
at javasoft.sqe.serial.StreamObjectInputStream.defaultReadStreamObject(StreamObjectInputStream.java:598)
at javasoft.sqe.serial.StreamObjectInputStream.inputStreamObject(StreamObjectInputStream.java:578)
at javasoft.sqe.serial.StreamObjectInputStream.readStreamObject(StreamObjectInputStream.java:117)
at javasoft.sqe.serial.util.Convert.objectToStreamObject(Convert.java:34)
at javasoft.sqe.tests.api.java.security.SecureRandom.serial.ConstructorTests.serial2001(ConstructorTests.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:610)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:379)
at com.sun.javatest.agent.Agent.access$000(Agent.java:43)
at com.sun.javatest.agent.Agent$1.run(Agent.java:255)
at java.lang.Thread.run(Thread.java:549)
serial2001: Failed. Test case throws exception: java.lang.IllegalArgumentException: Field java.security.Provider providernot assignable to type sun.security.pkcs11.SunPKCS11$SunPKCS11Rep
result: Failed. test cases: 1; all failed; first test case failure: serial2001
test result: Failed. test cases: 1; all failed; first test case failure: serial2001
Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10 (sparc) (CDE)
Hostname: linux-18
OS: Solaris 10 (x86) (CDE)
======================================================================