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

(ch) Refactor some methods out of sun.nio.ch.UnixFileDispatcherImpl

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • core-libs
    • b22
    • linux, os_x, aix

      UnixFileDispatcherImpl contains close0(), dup0(), and preClose0() native methods which are commented as:

      // Shared with SocketDispatcher and DatagramDispatcher but
      // NOT used by FileDispatcherImpl

      These should be moved to a place more appropriate for SocketDispatcher and DatagramDispatcher. UnixFileDispatcherImpl also contains preClose() and dup() methods which are not called anywhere hence could be removed.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: