]> source.dussan.org Git - poi.git/commit
some zips can't be opened via ZipFile in JDK6, as the central directory
authorAndreas Beeker <kiwiwings@apache.org>
Mon, 28 Mar 2016 22:49:45 +0000 (22:49 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Mon, 28 Mar 2016 22:49:45 +0000 (22:49 +0000)
commitf8767e39811076cedc3d891eaf2b6a164256da03
treebc0b606a70ce6ae3726a0a0903dcf6e6a89ff20b
parentceda10fa3239b49f9b0197aaf2c6c13e2e8bf1c4
some zips can't be opened via ZipFile in JDK6, as the central directory
contains either non-latin entries or the compression type can't be handled
the workaround is to iterate over the stream and not the directory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1736933 13f79535-47bb-0310-9956-ffa450edef68
src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java
src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ZipHelper.java
src/ooxml/testcases/org/apache/poi/extractor/TestExtractorFactory.java
src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackage.java
src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestZipPackage.java
test-data/openxml4j/at.pzp.www_uploads_media_PP_Scheinecker-jdk6error.pptx [new file with mode: 0644]