3 ms·
I mean inserting URL("https://www.google.com https://www.google.com") in a Dictionary might trigger DNS resolution in Java, this was probably a very on-brand pi
by BoorishBears 5y ago
I mean inserting URL("https://www.google.com https://www.google.com") in a Dictionary might trigger DNS resolution in Java, this was probably a very on-brand piece of functionality probably from a different time.
-
URL.hashCode was implemented by actually resolving the hostname to an IP address. Put a URL object in a dictionary? DNS resolution. Compare two URL objects with equals? DNS resolution.
The fix is use the updated `URI` api