You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Greg Trasuk (JIRA)" <ji...@apache.org> on 2013/04/24 18:01:17 UTC

[jira] [Updated] (RIVER-401) PreferredClassProvider using URL as key in map

     [ https://issues.apache.org/jira/browse/RIVER-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Trasuk updated RIVER-401:
------------------------------

    Affects Version/s:     (was: River_2.1.2)
                       River_2.2.0
        Fix Version/s:     (was: River_2.2.1)

Not addressed in 2.2.1 maintenance release.
                
> 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.2.0
>         Environment: All.
>            Reporter: Peter Firmstone
>              Labels: patch
>   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
For more information on JIRA, see: http://www.atlassian.com/software/jira