RFR : 8038491: Improve synchronization in ZipFile.read()
Alan Bateman
Alan.Bateman at oracle.com
Thu Apr 10 13:04:19 UTC 2014
On 10/04/2014 11:35, Seán Coffey wrote:
> This should make the code more robust Alan.
>
> http://cr.openjdk.java.net/~coffeys/webrev.8038491.v3/webrev/
This looks much better and means that the checks prior to the read do
what they were intended to do. There are still works with this code as
it was just never intended to be used in this way. I agree with Pavel's
comment that it wouldn't take much effort to fix it completely. You're
interesting might be 7u, in which case splitting into two issues is okay.
-Alan.
More information about the core-libs-dev
mailing list