[Bug 239890] java/openjdk11: openjdk 11.0.4+11.2 JDBC connections fail with IPv6 addresses
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 20 19:15:34 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239890
--- Comment #2 from Jonathan Chen <jonc at chen.org.nz> ---
This appears to have worked:
7:08am> java -cp .:postgresql-42.2.6.jar -Djava.net.preferIPv4Stack=false J
7:08am>
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?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-java
mailing list