[HARMONY-6556] [classlib][luni] URL.equals(Object) returns false when host and address are null (original) (raw)
URL.equals(Object) returns false when the URLs have null hostnames and address, e.g.
u = new URL("file",null,0,"test.txt");
u1 = new URL("file",null,0,"test.txt");
assertEquals(u, u1);
will fail on Harmony, but passes on the RI