Bug 22789 - IPv6 support is incomplete
Summary: IPv6 support is incomplete
Status: WAITING
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: unspecified
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 09:50 UTC by from-classpath
Modified: 2008-02-17 20:25 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-10-30 17:21:19


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description from-classpath 2004-10-15 09:50:26 UTC
GNU classpath has nearly no IPv6 support yet.
Comment 1 Andrew Pinski 2005-07-25 05:05:09 UTC
Confirmed.
Comment 2 Andrew John Hughes 2008-02-17 20:25:03 UTC
Some support has been added since this bug was failed, including:

2007-06-25  Dalibor Topic  <robilad@kaffe.org>

        * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
        (THROW_NO_IPV6): New macro.
        (Java_gnu_java_net_VMPlainSocketImpl_bind6) Conditionally
        build code if IPv6 facilities are available, otherwise
        throw an error.
        (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6,
        Java_gnu_java_net_VMPlainSocketImpl_join6,
        Java_gnu_java_net_VMPlainSocketImpl_leave6,
        Java_gnu_java_net_VMPlainSocketImpl_joinGroup6,
        Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6)
        Use THROW_NO_IPV6.

        * native/jni/java-net/java_net_VMInetAddress.c
        (Java_java_net_VMInetAddress_getHostByAddr,
        Java_java_net_VMInetAddress_getHostByName,
        Java_java_net_VMInetAddress_aton) Build IPv6 dependant
        code conditionally on IPv6 facilities being available.
        Switched if-else blocks where necessary to allow that.

        * native/jni/java-net/javanet.c
        (_javanet_get_ip_netaddr) Build IPv6 dependant code conditionally
        on IPv6 facilities being available.

        * native/jni/native-lib/cpnet.c
        (cpnet_getHostByName, cpnet_getHostByAddr) Build IPv6 dependant
        code conditionally on IPv6 facilities being available.
        (cpnet_aton) Moved variable declaration of inet6_addr to the scope
        of its use. Build IPv6 dependant code conditionally
        on IPv6 facilities being available.

        * native/jni/native-lib/cpnet.h (cpnet_newIPV6Address,
        cpnet_isIPV6Address, cpnet_IPV6AddressToBytes,
        cpnet_bytesToIPV6Address): Make IPv6 dependant utility functions
        available conditionally on IPv6 facilities being available.

What exactly was required for this bug?  It seems a little unspecific.