On Wed, 20 Jan 2021 12:21:21 GMT, Claes Redestad <[email protected]> wrote:
> This patch resolves a thread-safety issue where the singleton UTF8ZipCoder is > erroneously using a shared CharsetDecoder when the fast-path fails. It needs > to go via creating a new String like before JDK-8243469 > > This should resolve a rare issue when doing a lot of jar scanning in parallel > on jar/zip files (with at least some non-ASCII entries), but I've not managed > to create a test that reliably reproduce the issue. This pull request has now been integrated. Changeset: 1f47de5f Author: Claes Redestad <[email protected]> URL: https://git.openjdk.java.net/jdk/commit/1f47de5f Stats: 9 lines in 1 file changed: 6 ins; 0 del; 3 mod 8260010: UTF8ZipCoder not thread-safe since JDK-8243469 Reviewed-by: lancea ------------- PR: https://git.openjdk.java.net/jdk/pull/2163
