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

Peter Firmstone resolved RIVER-401.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: River_3.0.0

org.apache.river.api.net.RFC3986URLClassLoader was provided to ensure that 
RFC3986 compliant URI was used in place of URL in SecureClassLoader

PreferredClassProvider now extends the above.

 * The following property 
 * <code>-Dnet.jini.loader.codebaseAnnotation=URL</code> 
 * may be set from the command line to revert to {@link 
URL#equals(java.lang.Object) }
 * and {@link URL#hashCode() }.

> 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
>             Fix For: River_3.0.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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to