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

Junit test JNLPSignedResourcesHelperTest failed due to changes in TrustDecider class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • deploy
    • b139
    • x86
    • windows_xp
    • Not verified

      The junit testcase JNLPSignedResourcesHelperTest.java is using an old certificate, because there is no JRE cacert store available during test, we get a NullPointerException from Validator class:

      java.lang.NullPointerException
              at java.util.HashSet.<init>(HashSet.java:116)
              at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:81)
              at sun.security.validator.Validator.getInstance(Validator.java:179)
              at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)

            dgu Dennis Gu (Inactive)
            dgu Dennis Gu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: