Two hosts are considered equivalent if both host names can be resolved into the same IP addresses [...] Note: The defined behavior for equals is known to be inconsistent with virtual hosting in HTTP.
— java.net.URL documentation
# 31st January 2007, 9:13 pm / funny, horrifying, java
Related