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

com/sun/crypto/provider/KeyFactory/TestProviderLeak.java failed in JDK9

    XMLWordPrintable

Details

    Description

      TESTFAIL:com/sun/crypto/provider/KeyFactory/TestProviderLeak.java

      com/sun/crypto/provider/KeyFactory/TestProviderLeak.java have not failed in same Binaries run from B1-B13 since JDK-8027624 fixed.

      this test failed again in JDK9/b14 Regression Tests Same Binaries Run at windows-amd64 platform, failed in all 88 times run. detail please refer comments:

      ----------System.err:(29/1709)----------
      java.lang.OutOfMemoryError: Java heap space
      at java.io.WinNTFileSystem.list(Native Method)
      at java.io.File.list(File.java:1122)
      at javax.crypto.JarVerifier.getSystemEntropy(JarVerifier.java:785)
      at javax.crypto.JarVerifier.testSignatures(JarVerifier.java:706)
      at javax.crypto.JarVerifier.access$400(JarVerifier.java:34)
      at javax.crypto.JarVerifier$1.run(JarVerifier.java:183)
      at javax.crypto.JarVerifier$1.run(JarVerifier.java:149)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.crypto.JarVerifier.<clinit>(JarVerifier.java:148)
      at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:316)
      at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:261)
      at javax.crypto.JceSecurity.access$000(JceSecurity.java:48)
      at javax.crypto.JceSecurity$1.run(JceSecurity.java:81)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:78)
      at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:204)
      at TestProviderLeak.main(TestProviderLeak.java:94)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.OutOfMemoryError: Java heap space
      JavaTest Message: shutting down test

       

      Attachments

        Issue Links

          Activity

            People

              jnimeh Jamil Nimeh
              zailiu Kevin Liu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: