Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8303260 (fc) FileChannel::transferFrom should support position > size()
  3. JDK-8309412

Release Note: `FileChannel.transferFrom` Extends File if Called to Transfer Bytes to the File

    XMLWordPrintable

Details

    Description

      `FileChannel.transferFrom` has changed in this release to support transferring bytes from a source channel to a file at a file position that is beyond the file's current size. `FileChannel.transferFrom` was previously specified to not transfer any bytes when called with a file position greater than the file's current size.

      Attachments

        Activity

          People

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: