(dc) DatagramChannel::connect change the local address type to IPv6 (macOS)

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 7u4
    • Component/s: core-libs
    • None

      If a DatagramChannel is bound to an IPv4 address, then connected to an IPv6 address, DatagramChannel::getLocalAddress() returns an IPv4-compatible IPv6 address.

      java.lang.AssertionError: local address after connect should be /127.0.0.1:55179 found /0:0:0:0:0:0:7f00:1:55179

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: