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

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

    XMLWordPrintable

Details

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

    Description

      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'.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: