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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 19
    • Fix Version/s: 19
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b23
    • CPU:
      generic
    • OS:
      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

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

                Dates

                Created:
                Updated:
                Resolved: