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
             Fix For: River_2.2.0


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

        

Reply via email to