Re: RFR: 8253563: Change sun.security.jca.Providers.threadLists to be ThreadLocal

2020-10-11 Thread Alan Bateman
On Thu, 8 Oct 2020 23:15:36 GMT, Valerie Peng wrote: > Could someone help reviewing this one-line change? This changes the provider > list used during jar verification from > InheritableThreadLocal to ThreadLocal. Existing usage and handling uses this > field as temporary thread-specific > prov

Re: RFR: 8253952: Refine ZipOutputStream.putNextEntry() to recalculate ZipEntry's compressed size [v2]

2020-10-11 Thread Alan Bateman
On Fri, 9 Oct 2020 10:28:34 GMT, Volker Simonis wrote: >> ### Summary >> >> Work around wrong usage of `ZipOutputStream.putNextEntry()` in user code >> which can lead to the `ZipException "invalid >> entry compressed size"`. >> ### Motivation >> >> In general it is not safe to directly write a

Re: RFR: 8253952: Refine ZipOutputStream.putNextEntry() to recalculate ZipEntry's compressed size [v2]

2020-10-11 Thread Lance Andersen
On Sun, 11 Oct 2020 17:22:58 GMT, Alan Bateman wrote: >> Volker Simonis has refreshed the contents of this pull request, and previous >> commits have been removed. The incremental >> views will show differences compared to the previous content of the PR. > > src/java.base/share/classes/java/util