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

(fs) FileChannel.transfer{From,To}, {Scatter,Gather}ingByteChannel & large files

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.2
    • 1.4.0
    • core-libs
    • None
    • mantis
    • generic
    • generic

      When the parameters and return types for FileChannel.transfer{From,To} and
      {Scatter,Gather}ingByteChannel were revised from int to long, only a minimum set
      of changes was done. We need to verify that the actual implementations can handle large files.

      For an example of potential problems, see the implementation of
      sun.io.ch.FileChannelImpl.transferTo(). It is impossible for that method to
      ever return anything larger than Integer.MAX_VALUE.

      -- iag@sfbay 2002-02-14

            mmcclosksunw Michael Mccloskey (Inactive)
            iris Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: