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

fix RMISocketFactory example to avoid using localhost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • b106
    • Verified

      See discussion in this email:

      http://mail.openjdk.java.net/pipermail/security-dev/2013-August/008346.html

      Briefly, the example binds to a loopback address (whether IPv4 or IPv6 is unspecified, but it will be one or the other). The example suggests using localhost, which might resolve to the wrong loopback address.

      The example should be changed to recommend using the appropriate IPv4 or IPv6 loopback address instead of "localhost".

            smarks Stuart Marks
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: