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

FileChannel.transferTo should not use sendfile when target is self (solaris)

XMLWordPrintable

    • b26
    • sparc
    • solaris_8

      Specifying "this" as the "target" argument to the FileChannel::transferTo()
      method is legitimate usage.

      The fix for bug 4696869 changed the Solaris implementation of the method to use
      the extended library function sendfile(). However, the Solaris sendfile() does
      not yet support calls in which the source and destination are the same file.

            mmcclosksunw Michael Mccloskey (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: