(test) rmi test NonLocalSkeleton fails if network has multiple adapters with the same address

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: None
    • Component/s: core-libs
    • b24

        The coding of java.rmi.registry.nonLocalRegistry.NonLocalSkeletonTest assumes InetAddress.getAllByName(host) returns a unique set of IP addresses. It does not.

        Line 88 creates an immutable Set from the array of IP addresses
        and throws an exception when they are not unique.

        Set<InetAddress> myAddrs = Set.of(InetAddress.getAllByName(myHostName));

              Assignee:
              Roger Riggs
              Reporter:
              Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: