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

SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b75
    • Verification:
      Verified

      Backports

        Description

        In the fix for JDK-6826789, the ProtectionDomain cache key was changed from CodeSource to a String to avoid expensive DNS lookups when computing hashcodes for CodeSource URLs. However, the key also needs to take into account the certificates of a CodeSource, otherwise a CodeSource URL with different certificates will resolve to the same ProtectionDomain, which is not correct.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mullan Sean Mullan
                Reporter:
                mullan Sean Mullan
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: