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

native code clean-ups

XMLWordPrintable

    • b03
    • generic, x86
    • generic, linux
    • Not verified

      There's a fair amount of native cruft in the networking code that can be removed:

      1. ipv6_defs.h was introduced in 1.4 because the build environment was Solaris 7 which did not have the IPv6 definitions. The offical build platform for 5.0 is Solaris 8 so this header file is no longer needed.

      2. NetworkInterface_win9x.c was created for Windows 95 because the operating system lacked an API to enumerate the network interfaces. Windows 95 was dropped in 1.4.1 or 1.4.2 so this code is no longer required.

      3. On Solaris/Linux the getMarkerFD() method can mostly be replaced with a simple socketpair call - this would simplify the creating of this special socket.
      ###@###.### 2004-11-17 14:05:27 GMT

            jccollet Jean-Christophe Collet (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: