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

URLClassPath should use HashMap<String, XXX> instead of HashMap<URL, XXX>

    XMLWordPrintable

Details

    • b70
    • generic
    • generic

    Backports

      Description

        URL.hashcode() will cause DNS lookup (see 6810437) and this might be very noticeable if eveything is taken from disk cache (e.g. deployment cache).

        Suggested solution is to use URI instead of URL.

        Attachments

          Issue Links

            Activity

              People

                chegar Chris Hegarty
                igor Igor Nekrestyanov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: