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

Certificate validation - java.lang.ClassCastException

    Details

    • Subcomponent:
    • Resolved In Build:
      b122
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description


        It appears to be a regression in JRE8-b119 as signed applet failed to load due to certificate validation failure.
        The issue caused by java.lang.ClassCastException: com.sun.deploy.security.X509CertificateWrapper cannot be cast to sun.security.x509.X509CertImpl

        The same applet loaded fine if using JRE8-b118

        *** Tested Configurations
        - x86 Win7
        - IE 9, FF 25 ,GC 31
        - jre 8-b118, b119

        *** Steps to reproduce:
        0) Install jre 8-b119
        1) Enable the certificate revocation checks by default
        2) Use any browser to load the signed test applet:
        http://www.oxygenxml.com/demo/AuthorDemoApplet/author-component-dita.html

        Wait for applet resources to download and at the end, if you see the certificate validation failed due to java.lang.ClassCastException: com.sun.deploy.security.X509CertificateWrapper cannot be cast to sun.security.x509.X509CertImpl, the issue is reproducible

        The problem does not occur if using jre 8-b118

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vinnie Vincent Ryan
                  Reporter:
                  hungnguy Hung Nguyen (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  14 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: