Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8225499 InetSocketAddress::toString not friendly to IPv6 literal addresses
  3. JDK-8232369

Release Note: InetSocketAddress.toString format changes for IPv6 literals and unresolved addresses

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs

      Description

      The method `InetSocketAddress::toString` has been improved regarding the handling of IPv6 addresses. The implementation now encloses the IPv6 literal in brackets, which adheres to the specification outlined in <a href="https://tools.ietf.org/html/rfc2732" target="_blank">RFC2732</a>.

      Additionally, the string format for unresolved addresses has been changed. The method now represents the IP literal with the token `<unresolved>`, for example: `foo/<unresolved>:80` instead of ` foo:80`.

        Attachments

          Activity

            People

            • Assignee:
              jboes Julia Boes
              Reporter:
              jboes Julia Boes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: