Really, it was interesting topic. I will check this.



________________________________
From: Mark Struberg <[email protected]>
To: [email protected]
Sent: Wednesday, January 21, 2009 7:48:35 PM
Subject: blocking java.net.URL methods

Hi!

I found a really interesting blog about the behaviour of URL#hashCode and 
URL#equals:

http://michaelscharf.blogspot.com/2006/11/javaneturlequals-and-hashcode-make.html

I'm programming Java since a long time but I actually wasn't aware that 
iterating over URLs _always_ performs DNS lookups  :(
And yes, we use URLs a lot in our code - but as far as I've seen only for jar 
and file resources (classpath URLs).

LieGrue,
strub


      

Reply via email to