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

Modernize Windows native code for NetworkInterface

    XMLWordPrintable

Details

    • b14
    • windows

    Description

      Currently we have 2 distinct implementations of NetworkInterface functions on Windows.
      One dates back to pre-WinXP, where there was no support for IPv4. This version is still used when IPv6 stack is disabled with java.net.preferIPv4Stack=true system property.
      The other implementation uses WinXP functions that support IPv6. This version is used by default.

      We should aim to have only one implementation of these functions. Windows 2000 is no longer supported, so we could use the more modern functions, and filter out IPv6 when IPv4 stack is requested.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              djelinski Daniel Jelinski
              djelinski Daniel Jelinski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: