15 Commits

Author SHA1 Message Date
Lana Steuck
fb91d40572 Merge 2011-01-04 17:05:38 -08:00
Xueming Shen
022d6b1633 7009618: regression test failed caused by the fix for 7003462
Avoid caching the "ended" Inflater in ZipFile class

Reviewed-by: alanb
2011-01-04 14:17:45 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Stuart Marks
6e7cb44eea 6880112: Project Coin: Port JDK core library code to use diamond operator
Reviewed-by: darcy, lancea, alanb, briangoetz, mduigou, mchung
2010-12-20 13:47:04 -08:00
Xueming Shen
675d4c42a3 7003462: cannot read InputStream returned by java.util.ZipFile.getInputStream(ZipEntry)
The returned InflatedInputStream object should be kept in map streams

Reviewed-by: alanb
2010-12-13 14:12:56 -08:00
Mandy Chung
d990871881 6977738: Deadlock between java.lang.ClassLoader and java.util.Properties
Reviewed-by: alanb, sherman, darcy, igor
2010-10-11 20:22:27 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Xueming Shen
57a26502f0 6929479: Add a system property sun.zip.disableMemoryMapping to disable mmap use in ZipFile
System property sun.zip.disableMemoryMapping to disable mmap use

Reviewed-by: alanb
2010-03-11 14:06:09 -08:00
Mandy Chung
a89a6c4aeb 6878481: Add performance counters in the JDK
Added new performance counters in the JDK to track performance metrics

Reviewed-by: alanb, dholmes, iris, forax, andrew
2009-09-14 13:37:26 -07:00
Xueming Shen
4b33465b42 6707281: Adler32.update() JavaDoc is wrong
6553961: java.util.zip.{CRC32,Adler32}.update(int) doc errors
6646605: Missing method ZipFile.getComment()
6841232: ZipFile should implement Closeable
4985614: Failure on calls to ZipFile constructor
5032358: "java.util.zip.ZipException: The system cannot find the file specified"
6846616: java/util/zip/ZipFile/ReadAfterClose.java failed after fix for 6735255

Some misc bug/rfe fixes for zipfile

Reviewed-by: alanb
2009-06-29 19:57:58 -07:00
Xueming Shen
c27639c4d2 6728376: Wrong error handling in Java_java_util_zip_Deflater_deflateBytes leads to size 0 if compress fails
6735255: ZipFile.close() does not close ZipFileInputStreams, contrary to the API document

Throws OOM when malloc failed. Closes all outstanding streams when closing

Reviewed-by: alanb
2009-05-19 16:21:48 -07:00
Xueming Shen
2c08c535e0 6836489: Incorrect @link usage in java.util.zip API doc
Correct the wrong @link tag

Reviewed-by: alanb
2009-05-01 12:06:14 -07:00
Xueming Shen
c435a0905d 4244499: ZipEntry() does not convert filenames from Unicode to platform
4532049: IllegalArgumentException in ZipInputStream while reading unicode file
5030283: Incorrect implementation of UTF-8 in zip package
4700978: ZipFile can't treat Japanese name in a zipfile properly
4980042: Cannot use Surrogates in zip file metadata like filenames
4820807: java.util.zip.ZipInputStream cannot extract files with Chinese chars in name

Add new constructors for zip classes to support non-UTF-8 encoded names/comments in ZIP file

Reviewed-by: alanb, martin
2009-04-16 21:00:42 -07:00
Dave Bristor
51a345480a 6661861: Decrease memory use of Inflaters by ZipFile
Fix allows release of native resources earlier than without fix

Reviewed-by: alanb
2008-09-08 13:44:32 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00