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

Junit test JNLPSignedResourcesHelperTest failed due to changes in TrustDecider class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: deploy
    • Subcomponent:
    • Resolved In Build:
      b139
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Not verified

      Description

      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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: