Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6628569

api/java_net/MulticastSocket/descriptions.html#setTTL fails is ipv6 configured

XMLWordPrintable

    • b30
    • generic
    • solaris
    • Verified

        JCK: JCK-runtime-6a b14 alt bundle
        J2SE: FAIL - JDK6u4 b07
        Platform[s]: FAIL - Solaris-x86, amd64, sparc, sparcv9
        switch/Mode: FAIL - default

        The following tests:
        api/java_net/MulticastSocket/descriptions.html#setTTL
        api/java_net/MulticastSocket/descriptions.html#setTimeToLive

        fail on solaris platforms (verified for solaris 10 and 11) of ipv6 configured. The problem is that if solaris has ipv6 configured, for example,

        ifconfig -a
        lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
                inet 127.0.0.1 netmask ff000000
        bge0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
                inet 10.16.107.33 netmask fffffe00 broadcast 10.16.107.255
        lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
                inet6 ::1/128
        bge0: flags=202004841<UP,RUNNING,MULTICAST,DHCP,IPv6,CoS> mtu 1500 index 2
                inet6 fe80::214:4fff:fe0f:d61c/10
        bge0:1: flags=202080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6,CoS> mtu 1500 index 2
                inet6 fc00:1068::214:4fff:fe0f:d61c/64

        then method NetworkInterface.isUp() throws exception while analyzing interface bge0:1:

              chegar Chris Hegarty
              pastepan Pavel Stepanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: