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

(fc) Modify sun.nio.ch.FileChannelImpl.map0() to accept a FileDescriptor parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • core-libs
    • b23
    • generic
    • generic

      Currently the Java_sun_nio_ch_FileChannelImpl_map0() function obtains the FileDescriptor from the 'fd' Object field of the sun.nio.ch.FileChannelImpl instance. It would be better simply to pass the FileDescriptor object as a parameter to map0(). This will also dispense with the native global variable 'chan_fd'.

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

              Created:
              Updated:
              Resolved: