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

(fc) FileChannel::transferFrom should support position > size()

XMLWordPrintable

    • b17
    • generic
    • generic
    • Verified

      FileChannel::transferFrom is specified not to transfer any bytes if position > size(). This is inconsistent with the positional FileChannel::write which extends the file in this case. FileChannel::transferFrom should be modified also to extend the file in this case.

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

              Created:
              Updated:
              Resolved: