Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2019 19:15:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 239890] java/openjdk11: openjdk 11.0.4+11.2 JDBC connections fail with IPv6 addresses
Message-ID:  <bug-239890-8522-3ZFURchOwB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239890-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239890-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239890

--- Comment #2 from Jonathan Chen <jonc@chen.org.nz> ---
This appears to have worked:

7:08am> java -cp .:postgresql-42.2.6.jar -Djava.net.preferIPv4Stack=3Dfalse=
 J
7:08am>=20

However, this small code snippet worked with the version before this,
11.0.4+11.1_2. Did the the preferIPv4Stack change with the latest version?

As this is a "preference", shouldn't the explicit use of an IPv6 address, ie
[::1], indicate that the "preference" be ignored? Or did I misunderstand the
semantics of java.net.preferIPv4Stack?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239890-8522-3ZFURchOwB>