JDK-6308841 : nsk/stress/jni/jnistress005 fails with strange message
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • CPU: sparc
  • Submitted: 2005-08-10
  • Updated: 2012-02-01
  • Resolved: 2005-08-10
Related Reports
Duplicate :  
Relates :  
nsk/stress/jni/jnistress005 fails on solapis-sparc with strange output:

NATIVE: Throw has been catched in native
JAVA: java.lang.ArrayIndexOutOfBoundsException: java/lang/ArrayIndexOutOfBoundsException
counts 0 CountException 0
Cycle: 0Here
counts 0 CountException 1
  Interrupt count=4 Native interrupt count=2
counts 0 CountException 2
Cycle: 1Here
counts 0 CountException 3
/net/vmsqe-e250/export1/vmsqe/jdk-builds/JDK6.0b46/solaris-sparc/jre/lib/rt.jar: error reading zip file
Unexpected exception:
Exception in thread "Thread-4" java.lang.NoClassDefFoundError: java/lang/CloneNotSupportedException
        at nsk.stress.jni.JNIStress005.JNIter.except(Native Method)
        at nsk.stress.jni.JNIStress005.JNIter.run(jnistress005.java:309)


All output produced by test source except one line from hotspot:
/net/vmsqe-e250/export1/vmsqe/jdk-builds/JDK6.0b46/solaris-sparc/jre/lib/rt.jar: error reading zip file

after this event class loading fails and test fails also. It seems, however, that rt.jar is correct file because all other tests runs fine. Failure occures on b45 and b46 builds, and never occures before. 
I have attached test sources to reproduce failure.

EVALUATION Tested with the fix for 6304463 (zip file IO operations on Solaris fail if thread is interrupted), the test passed. So I am closing this bug as a duplicate as 6304463.