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

JarFile tests (JCK) fail (throws security exception) with ladybird - server VM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.1
    • hotspot
    • None
    • x86
    • windows_nt

      Test : JarFile
      TestBase : JCK
      Mode : -Xcomp
      OS : win32

      Steps to reproduce :
      1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
      2. doit

      Output :
      java version "1.3.1beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b12)
      Java HotSpot(TM) Server VM (build 1.3.1beta-b12, compiled mode)

      .
      .
      java.lang.SecurityException: cannot verify signature block file META-INF/MYKEY
              at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:151)
              at java.util.jar.JarVerifier.processEntry(JarVerifier.java:284)
              at java.util.jar.JarVerifier.update(JarVerifier.java:197)
              at java.util.jar.JarFile.initializeVerifier(JarFile.java:248)
              at java.util.jar.JarFile.getInputStream(JarFile.java:310)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.JarFile0031(CtorTests.java:1336)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.main(CtorTests.java:125)
      java.lang.SecurityException: cannot verify signature block file META-INF/MYKEY
              at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:151)
              at java.util.jar.JarVerifier.processEntry(JarVerifier.java:284)
              at java.util.jar.JarVerifier.update(JarVerifier.java:197)
              at java.util.jar.JarFile.initializeVerifier(JarFile.java:248)
              at java.util.jar.JarFile.getInputStream(JarFile.java:310)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.JarFile0104(CtorTests.java:1520)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.main(CtorTests.java:125)
      java.lang.SecurityException: cannot verify signature block file META-INF/MYKEY
              at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:151)
              at java.util.jar.JarVerifier.processEntry(JarVerifier.java:284)
              at java.util.jar.JarVerifier.update(JarVerifier.java:197)
              at java.util.jar.JarFile.initializeVerifier(JarFile.java:248)
              at java.util.jar.JarFile.getInputStream(JarFile.java:310)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.JarFile0108(CtorTests.java:1705)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.main(CtorTests.java:125)
      java.lang.SecurityException: cannot verify signature block file META-INF/MYKEY
              at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:151)
              at java.util.jar.JarVerifier.processEntry(JarVerifier.java:284)
              at java.util.jar.JarVerifier.update(JarVerifier.java:197)
              at java.util.jar.JarFile.initializeVerifier(JarFile.java:248)
              at java.util.jar.JarFile.getInputStream(JarFile.java:310)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.JarFile0124(CtorTests.java:2377)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.main(CtorTests.java:125)
      java.lang.SecurityException: cannot verify signature block file META-INF/MYKEY
              at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:151)
              at java.util.jar.JarVerifier.processEntry(JarVerifier.java:284)
              at java.util.jar.JarVerifier.update(JarVerifier.java:197)
              at java.util.jar.JarFile.initializeVerifier(JarFile.java:248)
              at java.util.jar.JarFile.getInputStream(JarFile.java:310)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.JarFile0126(CtorTests.java:2467)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.java.util.jar.JarFile.CtorTests.main(CtorTests.java:125)
      .
      .

      This test passes in -Xint mode or with compiler1 which indicate it to be the compiler2 bug.

            cclicksunw Clifford Click (Inactive)
            mpawarsunw Maneesh Pawar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: