Uploaded image for project: 'tsc'
  1. tsc
  2. TSC-96

IetfInetUtil conversion from byte[] and InetAddress returns a different implementation of Ipv4Address

XMLWordPrintable

    • Icon: Weather Item Weather Item
    • Resolution: Done
    • Icon: Medium Medium
    • Fluorine
    • None
    • None
    • None

      Since InetAddress and byte[] do not semantically hold a zone, the utilities return the more-strictly validated subclass of Ip{v4,v6,}Address, Ip{v4,v6,}AddressNoZone.

      Projects that require an Ip{v4,v6}Address instance rather than any subclass of it, need to re-wrap the result through one of the copy constructors.

            abhijit2511 Abhijit Kumbhare
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: