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

Jan Kratochvil jkratochvil at openjdk.org
Tue Jul 8 13:22:47 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/jdk21u-dev/pull/1949/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1949&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347712
  Stats: 388 lines in 4 files changed: 333 ins; 14 del; 41 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1949.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1949/head:pull/1949

PR: https://git.openjdk.org/jdk21u-dev/pull/1949


More information about the jdk-updates-dev mailing list