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

(ch) PipeImpl should use localhost instead of loopback address

XMLWordPrintable

    • b01
    • x86_64
    • windows_7

      A DESCRIPTION OF THE REQUEST :
      If you assume that sun.nio.ch.PipeImpl communicates over local TCP/IP sockets, PipeImpl should open a socket on and connect to over localhost.

      JUSTIFICATION :
      IPv4 has reaching the end of its use.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      If you assume that sun.nio.ch.PipeImpl communicates over local TCP/IP
      sockets, PipeImpl should open a socket on and connect to over localhost.

      sun.nio.ch.PipeImpl should use localhost instead of 127.0.0.1. RFC 6761
      states that "[users] may assume that IPv4 and IPv6 address queries for
      localhost names will always resolve to the respective IP loopback
      address". This assumption is correct on all supported versions of
      Microsoft Windows (in non-broken configurations).
      ACTUAL -
      sun.nio.ch.PipeImpl open a socket on and connects to 127.0.0.1.

            bpb Brian Burkhalter
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: