Details
Description
Copying files > 2GB with IOUtils fails with the current 1.4 jar. Please upgrade to commons-io-2.0.1.
Latest JAR is here: http://commons.apache.org/io/download_io.cgi
Release Notes:
Bug fixes from 1.4 to 2.0
------------------
- [IO-214] ByteArrayOutputStream - fix inconsistent synchronization of fields
- [IO-201] Counting Input/Output streams - fix inconsistent synchronization
- [IO-159] FileCleaningTracker - fix remove() never returns null
- [IO-220] FileCleaningTracker - fix Vector performs badly under load
- [IO-167] FilenameUtils - fix case-insensitive string handling in FilenameUtils and FilesystemUtils
- [IO-179] FilenameUtils - fix StringIndexOutOfBounds exception in getPathNoEndSeparator()
- [IO-248] FilenameUtils - fix getFullPathNoEndSeparator() returns empty while path is a one level directory
- [IO-246] FilenameUtils - fix wildcardMatch gives incorrect results
- [IO-187] FileSystemUtils - fix freeSpaceKb() doesn't work with relative paths on Linux
- [IO-160] FileSystemUtils - fix freeSpace() fails on solaris
- [IO-209] FileSystemUtils - fix freeSpaceKb() fails to return correct size for a windows mount point
- [IO-163] FileUtils - fix toURLs() using deprecated method of conversion to URL
- [IO-168] FileUtils - fix Symbolic links followed when deleting directory
- [IO-231] FileUtils - fix wrong exception message generated in isFileNewer() method
- [IO-207] FileUtils - fix race condition in forceMkdir() method
- [IO-217] FileUtils - fix copyDirectoryToDirectory() makes infinite loops
- [IO-166] FileUtils - fix URL decoding in toFile(URL)
- [IO-190] FileUtils - fix copyDirectory not preserving lastmodified date on sub-directories
- [IO-240] FileFilterUtils - ensure cvsFilter and svnFilter are only created once.
- [IO-175] IOUtils - fix copyFile() issues with very large files
- [IO-191] Improvements from static analysis
- [IO-216] LockableFileWriter - delete files quietly when an exception is thrown during initialization
- [IO-243] SwappedDataInputStream - fix readBoolean is inverted
- [IO-235] Tests - remove unused YellOnFlushAndCloseOutputStream from CopyUtilsTest
- [IO-161] Tests - fix FileCleaningTrackerTestCase hangingCo
Issue Links
- relates to
-
GRAILS-8052
Update Hibernate, Apache commons libraries, ehcache-core, concurrentlinkedhashmap-lru and SLF4J to latest stable versions
-
I consume a library that uses commons-io 2.0.1, which uses the IOUtils.closeQuietly(Closeable) method. Since this method doesn't exist in commons-io 1.4, my application can't use this consumable library.