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

JCK1.4: api/java_security/Signature/SignatureTests.html#update

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      rc1
    • CPU:
      x86
    • OS:
      generic, linux, windows_2000
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 10/17/2001


      JDK : JDK1.4.0-beta-b83
      JCK : JCK1.4-b11
      Platform[s] : RedHat Linux 7.1, Windows 2000
      switch/Mode : -server -Xmixed (The test passes in "-client -Xmixed" mode)
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Tests : api/java_security/Signature/SignatureTests.html#update

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_security/Signature/updateTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b83/jck14/linux/redhat7.1_smp_gnome_server_linux-5/workDir/api/java_security/Signature/SignatureTests_update.jtr

      How to reproduce:
      ====================
      Run the following script under RedHat Linux 7.1
      (probably, you need to change JCK and JAVA_HOME paths):
      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export CLASSPATH="$JCK/classes:$JCK/javatest.jar"
      executeClass="javasoft.sqe.tests.api.java.security.Signature.updateTests"
      args="-Djava.security.policy=$JCK/lib/jck.policy -Djava.security.auth.policy=$JCK/lib/java.auth.policy -Djava.security.auth.login.config=$JCK/lib/java.login.config"
      $JAVA_HOME/bin/java -server -Xmixed -Xfuture ${args} ${executeClass}
      ---------Script END----------------------

      Test output:
      =============
      Provider SUN, algorithm SHA1withDSA: Passed. update(byte) updates correctly. signature verified properly.
      Provider SunJSSE, algorithm MD5withRSA: Passed. update(byte) updates correctly. signature verified properly.
      Provider SunJSSE, algorithm SHA1withRSA: Passed. update(byte) updates correctly. signature verified properly.
      Provider SunJSSE, algorithm MD2withRSA: Passed. update(byte) updates correctly. signature verified properly.
      ...
      java.lang.ArrayIndexOutOfBoundsException
       at COM.rsa.jsafe.SunJSSE_fg.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_cu.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_cu.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_cu.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_ap.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_ap.a(DashoA6275)
       at com.sun.net.ssl.internal.ssl.JS_Signature.engineInitSign(DashoA6275)
       at java.security.Signature$Delegate.engineInitSign(Signature.java:775)
       at java.security.Signature.initSign(Signature.java:359)
       at javasoft.sqe.tests.api.java.security.Signature.updateTests.update008(updateTests.java:954)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
       at java.lang.reflect.Method.invoke(Method.java:327)
       at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
       at javasoft.sqe.jck.lib.ProviderTest.invokeTestCase(ProviderTest.java:125)
       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.security.Signature.updateTests.main(updateTests.java:63)
      update008: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
      ...
      java.lang.ArrayIndexOutOfBoundsException
       at com.sun.rsasign.bi.a(DashoA6275)
       at com.sun.rsasign.at.a(DashoA6275)
       at com.sun.rsasign.at.a(DashoA6275)
       at com.sun.rsasign.at.a(DashoA6275)
       at com.sun.rsasign.p.a(DashoA6275)
       at com.sun.rsasign.p.a(DashoA6275)
       at com.sun.rsajca.JS_Signature.engineInitSign(DashoA6275)
       at java.security.Signature$Delegate.engineInitSign(Signature.java:775)
       at java.security.Signature.initSign(Signature.java:359)
       at javasoft.sqe.tests.api.java.security.Signature.updateTests.update009(updateTests.java:1095)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
       at java.lang.reflect.Method.invoke(Method.java:327)
       at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
       at javasoft.sqe.jck.lib.ProviderTest.invokeTestCase(ProviderTest.java:125)
       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.security.Signature.updateTests.main(updateTests.java:63)
      update009: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
      ...
      java.lang.ArrayIndexOutOfBoundsException
       at COM.rsa.jsafe.SunJSSE_fg.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_cu.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_cu.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_cu.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_ap.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_ap.a(DashoA6275)
       at COM.rsa.jsafe.SunJSSE_ap.a(DashoA6275)
       at com.sun.net.ssl.internal.ssl.JS_Signature.engineInitSign(DashoA6275)
       at java.security.Signature$Delegate.engineInitSign(Signature.java:775)
       at java.security.Signature.initSign(Signature.java:359)
       at javasoft.sqe.tests.api.java.security.Signature.updateTests.update013(updateTests.java:1695)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
       at java.lang.reflect.Method.invoke(Method.java:327)
       at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
       at javasoft.sqe.jck.lib.ProviderTest.invokeTestCase(ProviderTest.java:125)
       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.security.Signature.updateTests.main(updateTests.java:63)
      update013: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
      ...
      verifying signature on fourth Signature object.
      verify() returns true on valid signature.
      Using RSA algorithm from SunJSSE
      STATUS:Failed.tests: 13; passed: 10; failed: 3; first test case failure: update008

      Specific Machine Info:
      =====================
      Hostname: Linux-14
      OS: RedHat Linux 7.1

      Hostname: Linux-2
      OS: Windows 2000

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cclicksunw Clifford Click (Inactive)
              Reporter:
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: