[security-dev 00758]: hg: jdk7/tl/jdk: 4244499: ZipEntry() does not convert filenames from Unicode to platform; ...

xueming.shen at sun.com xueming.shen at sun.com
Thu Apr 16 21:06:57 PDT 2009


Changeset: 1aaeb8fbe705
Author:    sherman
Date:      2009-04-16 21:00 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/1aaeb8fbe705

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
Summary: Add new constructors for zip classes to support non-UTF-8 encoded names/comments in ZIP file
Reviewed-by: alanb, martin

! make/java/zip/FILES_c.gmk
! make/java/zip/mapfile-vers
! make/java/zip/reorder-i586
! make/java/zip/reorder-sparc
! make/java/zip/reorder-sparcv9
+ src/share/classes/java/util/zip/ZipCoder.java
! src/share/classes/java/util/zip/ZipConstants64.java
! src/share/classes/java/util/zip/ZipEntry.java
! src/share/classes/java/util/zip/ZipFile.java
! src/share/classes/java/util/zip/ZipInputStream.java
! src/share/classes/java/util/zip/ZipOutputStream.java
! src/share/classes/java/util/zip/package.html
- src/share/native/java/util/zip/ZipEntry.c
! src/share/native/java/util/zip/ZipFile.c
! src/share/native/java/util/zip/zip_util.c
! src/share/native/java/util/zip/zip_util.h
+ test/java/util/zip/ZipCoding.java
+ test/java/util/zip/zip.java




More information about the security-dev mailing list