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

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

XMLWordPrintable

    • b70
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: