[kaffe] some IPv6-related problem?
Ito Kazumitsu
kaz at maczuka.gcd.org
Fri Oct 31 15:35:03 PST 2003
Hi,
Today's regression tests showed:
FAIL: UDPTest.java
FAIL: SoTimeout.java
Let's look into the case of SoTimeout.java. SoTimeout.fail says:
java.lang.IllegalArgumentException: Bad port number: 65536
at java.net.InetSocketAddress.<init> (InetSocketAddress.java:71)
at java.net.ServerSocket.<init> (ServerSocket.java:175)
at java.net.ServerSocket.<init> (ServerSocket.java:149)
at java.net.ServerSocket.<init> (ServerSocket.java:130)
at SoTimeout.main (SoTimeout.java:17)
Seeing that tryport of SoTimeout went to 65535, ServerSocket(tryport)
must have thrown IOException.
My FreeBSD machine is set up so that it uses IPv6, and I am afraid this
failure is because libraries/clib/net/PlainSocketImpl.c does not fully
support IPv6 addresses. For example, gnu_java_net_PlainSocketImpl_socketCreate
always calls KSOCKET(AF_INET, type, 0, &fd).
More information about the kaffe
mailing list