[jdk11u-dev] RFR: 8253952: Refine ZipOutputStream.putNextEntry() to recalculate ZipEntry's compressed size
Antonio Vieiro
duke at openjdk.org
Thu Jun 13 13:27:20 UTC 2024
On Wed, 12 Jun 2024 08:31:26 GMT, Antonio Vieiro <duke at openjdk.org> wrote:
> Backport of [JDK-8253952](https://bugs.openjdk.org/browse/JDK-8253952)
>
> Clean backport with a minor conflict resolved. Tests pass cleanly.
>
> I have a test case that shows differences in behaviour between Amazon Corretto 11.0.23.9-1 (built with `--zlib=system`) and adoptium-jdk-11.0.23+9 (built with `--zlib=bundled`) on [Fedora 40 with system-wide zlib-ng](https://discussion.fedoraproject.org/t/f40-change-proposal-transitioning-to-zlib-ng-as-a-compatible-replacement-for-zlib-system-wide/95807#!). Let me know if you think it's worth adding the test case to the codebase.
This PR requires a CSR! I don't think it's worth the hassle for such a small corner-case. Closing as a consequence. Apologies for the trouble.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2765#issuecomment-2165668399
More information about the jdk-updates-dev
mailing list