Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8267702 | 11-pool | Thejasvi Voniadka | P4 | Open | Unresolved |
Description
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));
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));
Attachments
Issue Links
- backported by
-
JDK-8267702 (test) rmi test NonLocalSkeleton fails if network has multiple adapters with the same address
-
- Open
-