corda/classpath/java
Joel Dice d4da92d300 fix bugs in Deflater and DeflaterOutputStream
Previously, Deflater.deflate would pass Z_SYNC_FLUSH to zlib
unconditionally, which caused the output to be enormous when setInput
was called repeatedly with very small input buffers.  In order to
allow zlib to buffer output and thereby maximize compression, we must
use Z_NO_FLUSH until Deflater.finish is called, at which point we
switch to Z_FINISH.  We also modify DeflaterOutputStream.close to call
Deflater.finish and write any remaining output to the wrapped stream.
2011-05-16 17:12:41 -06:00
..
io implement File.toString 2011-03-25 19:12:47 -06:00
lang implement System.nanoTime 2011-04-08 20:32:33 -06:00
net implement jar and file URL stream handlers 2011-03-25 19:14:21 -06:00
nio add ServerSocketChannel.handleReadyOps to fix build 2011-01-13 07:03:28 -07:00
security specify valid code source for system classes 2011-03-31 19:38:44 -06:00
text prepend copyright notice and license to all source files; add license.txt and readme.txt 2008-02-19 11:06:52 -07:00
util fix bugs in Deflater and DeflaterOutputStream 2011-05-16 17:12:41 -06:00