Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6308841

nsk/stress/jni/jnistress005 fails with strange message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • core-libs
    • None

      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
      Here
      counts 0 CountException 0
      Cycle: 0Here
      counts 0 CountException 1
        Interrupt count=4 Native interrupt count=2
      Here
      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.

            xlu Xiaobin Lu (Inactive)
            azhmursunw Anatoly Zhmur (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: