Re: RFR: 8260010: UTF8ZipCoder not thread-safe since JDK-8243469

2021-01-20 Thread eirbjo
On Wed, 20 Jan 2021 12:21:21 GMT, Claes Redestad 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 JLA.newStringUTF8NoRepl like before JDK-8243469 > > This should res

Integrated: 8259867: Move encoding checks into ZipCoder

2021-01-20 Thread eirbjo
On Sat, 16 Jan 2021 17:49:38 GMT, eirbjo wrote: > ZipFile.Source.initCEN verifies that entry names are encoding into bytes > valid in the entry's encoding. It does so by calling encoding-specific > checking methods, so it also needs to determine which check method to call &g

RFR: 8259867: Move encoding checks into ZipCoder

2021-01-18 Thread eirbjo
ZipFile.Source.initCEN verifies that entry names are encoding into bytes valid in the entry's encoding. It does so by calling encoding-specific checking methods, so it also needs to determine which check method to call for each entry. By moving the encoding-variant checks into ZipCoder, initCEN