Date: Wed, 19 Jan 2005 15:41:09 +0200 From: Alexey Zelkin <phantom@FreeBSD.org.ua> To: freebsd-java@freebsd.org Subject: Re: IPv6 works ok for jdk15 Message-ID: <20050119134109.GA75103@phantom.cris.net> In-Reply-To: <20050119101554.GA17833@82-168-140-74-bbxl.xdsl.tiscali.nl> References: <20050119101554.GA17833@82-168-140-74-bbxl.xdsl.tiscali.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, It means what NetworkInterface class works as expected only. Unfortunatelly IPv6 support is deeply integrated with java.net support, and should be tested in all aspects. As for jdk14 -- we can't make two functions (only!) work as expected by JCK (without kernel modifications), and therefore had to disable IPv6 stack at all (at least in default configuration). PS: I did not test IPv6 support for 1.5.0 port at all, yet. So, I'd suggest to not to use it. On Wed, Jan 19, 2005 at 11:15:54AM +0100, Rene Ladan wrote: > Hi, > > I've commented out the 'setenv DONT_ENABLE_IPV6 YES' line to see if IPv6 > works, which it does. > > I'm running > > FreeBSD 5.3-STABLE #6: Wed Jan 12 20:03:28 CET 2005 > root@82-168-140-74-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE > > with net.inet6.ip6.v6only set to 0. > > The testip.java (attached) program produces the following output: > > rene@82-168-140-74-bbxl.xdsl.tiscali.nl:~/lang/java/test>~/test-jdk15/control/build/bsd-i586/bin/java -cp . testip > Interface lo0 has ip address /fe80:2:0:0:0:0:0:1 > is link local address > Interface lo0 has ip address /0:0:0:0:0:0:0:1 > is loopback address > Interface lo0 has ip address /127.0.0.1 > is loopback address > Interface fxp0 has ip address /fe80:1:0:0:2d0:59ff:fe01:ed22 > is link local address > Interface fxp0 has ip address /192.168.0.3 > is site local address > rene@82-168-140-74-bbxl.xdsl.tiscali.nl:~/lang/java/test>file testip.class > testip.class: compiled Java class data, version 49.0 > > Script done on Wed Jan 19 11:09:21 2005 > > which is the same when compiled and ran with jdk14 with IPv6 enabled. > -- > "It won't fit on the line." > -- me, 2001
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050119134109.GA75103>