Creation of jar files will throw OutOfMemoryException when compressing large files. Change the compression of files to use a 1024 byte buffer size (same as in the decompression code) instead of attempting to allocate the full file size.

git-svn-id: https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk@1005084 13f79535-47bb-0310-9956-ffa450edef68
1 file changed