LPS-39776 Avoid calling equals() and hashCode() on java.net.URL object