<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html lang="de" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title></title><style type="text/css">html,body{background-color:#fff;color:#333;line-height:1.4;font-family:sans-serif,Arial,Verdana,Trebuchet MS;}</style></head><body><p>Hello,</p>
<p>I remember to have seen a few ZIP64 compatibility bug fixed in the past.</p>
<p>But this one here is still open:</p>
<p>* <a href="https://bugs.openjdk.org/browse/JDK-8298530" target="_blank" rel="nofollow noopener">[JDK-8298530] ZipInputStream.readEnd fails for certain ZIP64 archives with small files - Java Bug System (openjdk.org)</a></p>
<p>There seem to be unofficial patches. We seem to be bothered by the same problem.<br>(I need to get a test sample I can publish and also wait for the info where it is coming from.<br>It is a Microsoft Office XLSX file (they are ZIP archives), but it might not be created by office suite)</p>
<p class="highlight highlight-text op-uc-code-block" lang="text">java.util.zip.ZipException: invalid entry size (expected 0 but got 1052 bytes)<br>at java.base/java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:399)<br>at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:198)<br>at java.base/java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:142)<br>at java.base/java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:120)<br><br>I can use the reproducer code from above Bug - modified with my sample file<br>- and it fails in the same way (with 17.0.10 and 17.0.11).</p>
<p> </p>
<p> </p></body></html>