Java's URL.equals() Performs DNS Resolution
 > "Two hosts are considered equivalent if both host names can be resolved into the same IP addresses"Uhmm... yikes. Why are they resolving anything? A URL is a string, this should just be doing a string comparison. All of the parts of the URL object are strings or ints, so at worst they should just be comparing all of those individually, not resolving domains and comparing IP addresses. That makes no sense at all.