Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6556

[classlib][luni] URL.equals(Object) returns false when host and address are null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0M15
    • Classlib
    • None
    • all
    • Patch Available
    • Novice

    Description

      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

      Attachments

        Activity

          People

            tellison Tim Ellison
            chope Catherine Hope
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: