[jdk17u-dev] RFR: 8347712: IllegalStateException on multithreaded ZipFile access with non-UTF8 charset

Jan Kratochvil jkratochvil at openjdk.org
Tue Jul 8 13:35:34 UTC 2025


Multithreaded handling of ZIP files can throw an exception.

This backport is far from clean. The last commit resolves the conflicts.

The backport would be a little cleaner if there was backported as a pre-requisite JDK-8321156. But given there is [a backward compatibility concern](https://bugs.openjdk.org/browse/JDK-8321156?focusedId=14630523&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14630523) I have not backported it.

-------------

Commit messages:
 - resolve conflicts
 - 8347712: IllegalStateException on multithreaded ZipFile access with non-UTF8 charset

Changes: https://git.openjdk.org/jdk17u-dev/pull/3720/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3720&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347712
  Stats: 385 lines in 4 files changed: 333 ins; 13 del; 39 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3720.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3720/head:pull/3720

PR: https://git.openjdk.org/jdk17u-dev/pull/3720


More information about the jdk-updates-dev mailing list