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

(fs) FileChannel.transferTo() for files greater than 2^31-1 bytes (win)

XMLWordPrintable

    • b02
    • sparc
    • solaris_8
    • Verified

      tested in build 1.4.1-beta-b02 :

      In win2000 , the transferTo() does not transfer files > than 2^31-1 bytes.
      it throws an exception of "java.io.IOException: The parameter is incorrect"

      In solaris8 , Bytes transfered to Target channel are 2^31-1 even if the
      source channel file is greater than 2^31-1

      In LinuxRH7.1 , it gives an error of java.io.IOException: Input/output error

      The testcase is attached

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: