RFR: JDK-8313804: JDWP support for -Djava.net.preferIPv6Addresses=system [v3]
Liam Miller-Cushon
cushon at openjdk.org
Wed Sep 20 16:28:26 UTC 2023
On Wed, 20 Sep 2023 00:18:59 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> I took some time to understand what this code for. I think the condition is not correct. it should be
>
> ```
> if (!allowOnlyIPv4) {
> ```
>
> allowOnlyIPv4 (reflects "java.net.preferIPv4Stack" sys.prop) means that only IPv4 connections are allowed (even if IPv6 available)
I have tentatively updated it to do that
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15796#issuecomment-1728070761
More information about the serviceability-dev
mailing list