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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 19
    • Component/s: 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'.

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

              Created:
              Updated:
              Resolved: