anmolnar commented on PR #2338: URL: https://github.com/apache/zookeeper/pull/2338#issuecomment-3573164109
> Looks like I've found a problem: `InetAddress.getAllByName()` doesn't really returns the IP addresses in the right order according to `java.net.preferIPv6Addresses` setting. We might need to implement it ourselves. No, it seems that I was wrong. It was just some issue with IntelliJ and JVM didn't pick up the `java.net.preferIPv6Addresses` network setting. Running from the command like works as expected: return order is aligned with the property value. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
