Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6335582

Naming regression test does not handle URL parsing success correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs
    • rc
    • generic
    • generic

      Test java/rmi/Naming/UnderscoreHost.java does not work correctly when the given input URL is parsed without any exceptions. The test compares the host name that was used when the URL is parsed by the Naming utility and the host that is passed to a subsequent socket creation call (which is saved). These must match. However, a DGC dirty call causes the saved host information to be incorrectly overwritten. This particular code path was not exercised until the fix for CR 5085902.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: