RFR (S): JDK-8250630 JdwpListenTest.java fails on Alpine Linux

Dmitry Samersoff dms at samersoff.net
Mon Aug 17 07:21:52 UTC 2020


Hello Everybody,

Please review the fix:

https://cr.openjdk.java.net/~dsamersoff/JDK-8250630/webrev.01/

Binding to IN6ADDR_ANY allow us to serve both IPv4 and IPv6 connections, 
but binding to mapped INADDR_ANY (::ffff:0.0.0.0) allow us to serve IPv4 
connections only.

So make sure, that IN6ADDR_ANY is preferred over mapped INADDR_ANY if 
preferredAddressFamily is not AF_INET


-Dmitry\S



More information about the serviceability-dev mailing list