]> 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)
commit1e65636048704a6410bff54ee245ec083585a366
treebc0b606a70ce6ae3726a0a0903dcf6e6a89ff20b
parent033580e1b3eae57b5ff6752c5c7d7f4c6cf1ac04
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]