A HashMap bug with a Proxy value? (original) (raw)
Chris Hegarty chris.hegarty at oracle.com
Thu Jan 13 10:44:15 UTC 2011
- Previous message: A HashMap bug with a Proxy value?
- Next message: hg: jdk7/tl/jdk: 7008713: diamond conversion of kerberos5 and security tools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/13/11 10:34 AM, Alan Bateman wrote:
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?
I think I may have jumped the gun here. I was thinking that unresolved InetSocketAddresses would need to be resolved, but this doesn't appear to be the case.
-Chris.
-Alan.
- Previous message: A HashMap bug with a Proxy value?
- Next message: hg: jdk7/tl/jdk: 7008713: diamond conversion of kerberos5 and security tools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]