IPv6 and openjdk11-11.0.4+11.2

Jonathan Chen jonc at chen.org.nz
Wed Aug 14 21:17:08 UTC 2019


Hi,

The latest update for java/openjdk11, openjdk11-11.0.4+11.2, appears
to have lost IPv6 support?

When I use squirrel-sql with JAVA_HOME=/usr/local/openjdk11,
jdbc-url=jdbc:postgresql://[::1]/my-database currently fails with:
 class java.net.SocketException: Protocol family unavailable

This used to work with openjdk11-11.0.4+11.1_2. If I switch
JAVA_HOME=/usr/local/opendjk8, it also works as expected.

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-java mailing list