3 ms·
Or if the computer running the JVM doesn't have a reliable network connection? Does the behavior of URL.equals() change if your network connection is down? ...
by duskwuff 7y ago
Or if the computer running the JVM doesn't have a reliable network connection? Does the behavior of URL.equals() change if your network connection is down?
... and what happens when you try to compare a URL which contains a nonexistent hostname, like http://asdfghjkl.example.com/ http://asdfghjkl.example.com/ ? Does that compare as equal to all other URLs with unresolvable hostnames?
- wolfgang42 7y ago> if either host name can't be resolved, the host names must be equal without regard to case; or both host names equal to null.