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

(fs) FileChannel.size() method throws java.io.IOException: Value too large

XMLWordPrintable

    • hopper
    • sparc
    • solaris_8
    • Verified


      Tested in build 89 , solaris 5.8:
      In FileChannel class , size () method gives an "java.io.IOException: Value too large for defined data type" when the size of the channel's file is greater than 2^31-1. It passes in Windows 2000.

      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: