Archive for March, 2008

java.net.URL is Evil

This is something I wanted to blog about since long time. Although some people had already talked about this beast before, this is not a well known issue, and spreading this information is never enough.
From java.net.URL.equals() javadoc:
Compares this URL for equality with another object.
If the given object is not a URL then this method immediately [...]