[jira] [Commented] (IO-323) What should happen in FileUtils.sizeOf[Directory] when an overflow takes place?
[ https://issues.apache.org/jira/browse/IO-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13254737#comment-13254737 ] Gary D. Gregory commented on IO-323: Hm, how about -1 for the current API and adding an API that uses BigInteger if you really care about huge sizes? What should happen in FileUtils.sizeOf[Directory] when an overflow takes place? --- Key: IO-323 URL: https://issues.apache.org/jira/browse/IO-323 Project: Commons IO Issue Type: Bug Components: Utilities Affects Versions: 2.3 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows Reporter: Gary D. Gregory FileUtils.sizeOf[Directory] adds longs. What should happen when an overflow happens? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (IO-323) What should happen in FileUtils.sizeOf[Directory] when an overflow takes place?
[ https://issues.apache.org/jira/browse/IO-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13254931#comment-13254931 ] Gary D. Gregory commented on IO-323: Ok, we can ignore and document for now. How about a BigInteger method that will give you the right answer no matter now big? Gary What should happen in FileUtils.sizeOf[Directory] when an overflow takes place? --- Key: IO-323 URL: https://issues.apache.org/jira/browse/IO-323 Project: Commons IO Issue Type: Bug Components: Utilities Affects Versions: 2.3 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows Reporter: Gary D. Gregory FileUtils.sizeOf[Directory] adds longs. What should happen when an overflow happens? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (IO-323) What should happen in FileUtils.sizeOf[Directory] when an overflow takes place?
[ https://issues.apache.org/jira/browse/IO-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13254935#comment-13254935 ] Sebb commented on IO-323: - bq. How about a BigInteger method that will give you the right answer no matter now big? File a separate JIRA enhancement request? What should happen in FileUtils.sizeOf[Directory] when an overflow takes place? --- Key: IO-323 URL: https://issues.apache.org/jira/browse/IO-323 Project: Commons IO Issue Type: Bug Components: Utilities Affects Versions: 2.3 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows Reporter: Gary D. Gregory FileUtils.sizeOf[Directory] adds longs. What should happen when an overflow happens? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (IO-323) What should happen in FileUtils.sizeOf[Directory] when an overflow takes place?
[ https://issues.apache.org/jira/browse/IO-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13254947#comment-13254947 ] Gary D. Gregory commented on IO-323: .bq File a separate JIRA enhancement request? Reasonable, pertinent and in process :) What should happen in FileUtils.sizeOf[Directory] when an overflow takes place? --- Key: IO-323 URL: https://issues.apache.org/jira/browse/IO-323 Project: Commons IO Issue Type: Bug Components: Utilities Affects Versions: 2.3 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows Reporter: Gary D. Gregory FileUtils.sizeOf[Directory] adds longs. What should happen when an overflow happens? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira