-
Bug
-
Resolution: Cannot Reproduce
-
P1
-
None
-
5.0
-
x86, sparc
-
solaris_10
Name: iaR10016 Date: 12/26/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b32
(passes with JDK1.5.0-b31, JDK1.4.2-b28)
JCK : JCK1.5-runtime (b10)
Platform[s] : Solaris 10 (sparc, x86) (CDE, Gnome2)
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/javax_crypto/Cipher/index.html#doFinal1Tests
...
More then 50 JCK1.5-runtime (b10) api/javax_crypto tests fail using JDK1.5.0-b32
on Solaris 10 (sparc, x86) with java.lang.ExceptionInInitializerError exception.
This failure is not reproducible on any other platforms I have including Solaris 9
(sparc, x86) and Solaris 8 (sparc, x86) systems.
Please, see the full list of failed tests in the Comments section of this bug.
Test source location:
=====================
/java/re/jck/1.5/beta/b10/latest/binaries/JCK-runtime-15/tests/api/javax_crypto/Cipher/doFinal1Tests.java
...
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_crypto/Cipher/index_doFinal1Tests.jtr
...
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
#!/bin/bash
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b31/binaries/solaris-i586"
JCK="/java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"
#Alternative paths outside Java Software:
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b31/binaries/solaris-i586"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"
export CLASSPATH="$JCK/classes;$JCK/lib/javatest.jar"
$JDK/bin/java -showversion javasoft.sqe.tests.api.javax.crypto.Cipher.doFinal1Tests
--- script end ---
Test output:
============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)
Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.crypto.KeyGenerator.a(DashoA6275)
at javax.crypto.KeyGenerator.<init>(DashoA6275)
at javax.crypto.KeyGenerator.getInstance(DashoA6275)
at javasoft.sqe.jck.lib.javax.jce.CryptoUtil.generateKey(CryptoUtil.java:240)
at javasoft.sqe.tests.api.javax.crypto.Cipher.doFinal1Tests.init(doFinal1Tests.java:44)
at javasoft.sqe.javatest.lib.MultiTest.init(MultiTest.java:534)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:168)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.javax.crypto.Cipher.doFinal1Tests.main(doFinal1Tests.java:341)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
... 9 more
Caused by: java.lang.SecurityException: Signature classes have been tampered with
at javax.crypto.SunJCE_b.c(DashoA6275)
at javax.crypto.SunJCE_b.b(DashoA6275)
at javax.crypto.SunJCE_q.run(DashoA6275)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Test output (JTR part):
=======================
----------log:(19/1078)----------
Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.crypto.KeyGenerator.a(DashoA6275)
at javax.crypto.KeyGenerator.<init>(DashoA6275)
at javax.crypto.KeyGenerator.getInstance(DashoA6275)
at javasoft.sqe.jck.lib.javax.jce.CryptoUtil.generateKey(CryptoUtil.java:240)
at javasoft.sqe.tests.api.javax.crypto.Cipher.doFinal1Tests.init(doFinal1Tests.java:44)
at javasoft.sqe.javatest.lib.MultiTest.init(MultiTest.java:534)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:168)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.javax.crypto.Cipher.doFinal1Tests.main(doFinal1Tests.java:341)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
... 9 more
Caused by: java.lang.SecurityException: Signature classes have been tampered with
at javax.crypto.SunJCE_b.c(DashoA6275)
at javax.crypto.SunJCE_b.b(DashoA6275)
at javax.crypto.SunJCE_q.run(DashoA6275)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
result: Failed. unexpected exit code: exit code 1
Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10 (sparc) (CDE)
Hostname: linux-18
OS: Solaris 10 (x86) (Cnome2)
======================================================================