JDK 22 |
---|
22 b17Fixed |
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
java.net.preferIPv6Addresses is documented as supporting three values: true, false, and system: https://github.com/openjdk/jdk/blob/6d185296161606edbc9f737a6b1b27496add9367/src/java.base/share/classes/java/net/doc-files/net-properties.html#L55-L63 The JDWP implementation reads preferIPv6Addresses, but it only handles the 'true' and 'false' values: https://github.com/openjdk/jdk/blob/6d185296161606edbc9f737a6b1b27496add9367/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c#L1370-L1371 JDWP should be updated to handle -Djava.net.preferIPv6Addresses=system, and avoid re-ordering the address returned by getaddrinfo in that case.
|