A HashMap bug with a Proxy value?
Alan.Bateman at oracle.com
Thu Jan 13 10:34:57 UTC 2011
Chris Hegarty wrote:
> Are you referring to java.net.Proxy? Proxy.equals depends on the
> resolution of its address. Address resolution could change over time,
> depending on the caching policy. java.net.URL has a similar issue.
Just on this, are there issues with java.net.Proxy that should be added
to the javadoc? URL is a well known pariah but I didn't know about
java.net.Proxy. It looks like its equals depends on the equality of
socket addresses but that shouldn't involve lookups, right?
More information about the core-libs-dev