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

sun/security/provider/X509Factory/BigCRL.java failing on Linux 32-bit

XMLWordPrintable

    • b61
    • Verified

      Since the no perm gen work this test has been failing consistently in JPRT on several different machines, usually Linux 32-bit. Below is an example. It would be great if this test could be examined to see whether it really requires a 1GB heap.

      --------------------------------------------------
      TEST: sun/security/provider/X509Factory/BigCRL.java
      JDK under test: (/tmp/jprt/P1/102909.albatem/testproduct/linux_i586_2.6-product)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-201209291029.albatem.tl-b00)
      Java HotSpot(TM) Client VM (build 25.0-b02, mixed mode, sharing)

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.057 seconds
      messages:
      command: build BigCRL
      reason: Named class compiled on demand
      elapsed time (seconds): 0.057

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.057 seconds
      messages:
      command: compile /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.057
      direct:
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:56: warning: X509CertImpl is internal proprietary API and may be removed in a future release
              X509CertImpl signerCertImpl = new X509CertImpl(encoded);
              ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:56: warning: X509CertImpl is internal proprietary API and may be removed in a future release
              X509CertImpl signerCertImpl = new X509CertImpl(encoded);
                                                ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:57: warning: X509CertInfo is internal proprietary API and may be removed in a future release
              X509CertInfo signerCertInfo = (X509CertInfo)signerCertImpl.get(
              ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:57: warning: X509CertInfo is internal proprietary API and may be removed in a future release
              X509CertInfo signerCertInfo = (X509CertInfo)signerCertImpl.get(
                                             ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:58: warning: X509CertImpl is internal proprietary API and may be removed in a future release
                      X509CertImpl.NAME + "." + X509CertImpl.INFO);
                      ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:58: warning: X509CertImpl is internal proprietary API and may be removed in a future release
                      X509CertImpl.NAME + "." + X509CertImpl.INFO);
                                                ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:59: warning: X500Name is internal proprietary API and may be removed in a future release
              X500Name owner = (X500Name)signerCertInfo.get(X509CertInfo.SUBJECT + "."
              ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:59: warning: X500Name is internal proprietary API and may be removed in a future release
              X500Name owner = (X500Name)signerCertInfo.get(X509CertInfo.SUBJECT + "."
                                ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:59: warning: X509CertInfo is internal proprietary API and may be removed in a future release
              X500Name owner = (X500Name)signerCertInfo.get(X509CertInfo.SUBJECT + "."
                                                            ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:60: warning: CertificateSubjectName is internal proprietary API and may be removed in a future release
                      + CertificateSubjectName.DN_NAME);
                        ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:68: warning: CRLExtensions is internal proprietary API and may be removed in a future release
              CRLExtensions ext = new CRLExtensions();
              ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:68: warning: CRLExtensions is internal proprietary API and may be removed in a future release
              CRLExtensions ext = new CRLExtensions();
                                      ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:69: warning: CRLReasonCodeExtension is internal proprietary API and may be removed in a future release
              ext.set("Reason", new CRLReasonCodeExtension(1));
                                    ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:71: warning: X509CRLEntryImpl is internal proprietary API and may be removed in a future release
                  badCerts[i] = new X509CRLEntryImpl(
                                    ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:74: warning: X509CRLImpl is internal proprietary API and may be removed in a future release
              X509CRLImpl crl = new X509CRLImpl(owner, date, date, badCerts);
              ^
      /tmp/jprt/P1/102909.albatem/s/jdk/test/sun/security/provider/X509Factory/BigCRL.java:74: warning: X509CRLImpl is internal proprietary API and may be removed in a future release
              X509CRLImpl crl = new X509CRLImpl(owner, date, date, badCerts);
                                    ^
      16 warnings

      ACTION: main -- Failed. Unexpected exit from test [exit code: 1]
      REASON: User specified action: run main/othervm -Xmx1024m BigCRL
      TIME: 0.006 seconds
      messages:
      command: main -Xmx1024m BigCRL
      reason: User specified action: run main/othervm -Xmx1024m BigCRL
      elapsed time (seconds): 0.006
      STDOUT:
      Error occurred during initialization of VM
      Could not reserve enough space for object heap 1075838976 bytes
      STDERR:

      TEST RESULT: Failed. Unexpected exit from test [exit code: 1]
      --------------------------------------------------

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: