[
https://issues.apache.org/jira/browse/RIVER-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168301#comment-13168301
]
Hudson commented on RIVER-401:
------------------------------
Integrated in River-trunk #498 (See
[https://builds.apache.org/job/River-trunk/498/])
River-265 Fix for unlucky caching as requested.
River-401 Changed to utilise URI in place of URL in map's and arrays to avoid
unnecessary DNS lookups.
> PreferredClassProvider using URL as key in map
> ----------------------------------------------
>
> Key: RIVER-401
> URL: https://issues.apache.org/jira/browse/RIVER-401
> Project: River
> Issue Type: Improvement
> Components: net_jini_loader
> Affects Versions: River_2.1.2
> Environment: All.
> Reporter: Peter Firmstone
> Labels: patch
> Fix For: River_2.2.0
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> According to Sun Bug ID 6810437, URL equals and hashcode methods perform DNS
> lookup, the bug is closed, the suggested fix is to use URI or the string
> representation of instead of URL in collections.
> URL's documentation also suggests creating a URI, then calling toURL() to
> obtain a URL, rather than constructing a URL directly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira