RFR: JDK-8241883: (zipfs) SeekableByteChannel:close followed by SeekableByteChannel:close will throw an NPE

Alan Bateman Alan.Bateman at oracle.com
Wed Apr 8 10:12:34 UTC 2020


On 07/04/2020 21:11, Lance Andersen wrote:
> :
>
> I can look to add some tests going forward as I am not sure we have 
> any existing tests
>
The close method should be idempotent, also should be thread safe in 
this zipfs implementation to avoid random exceptions. If I read the 
proposed fix correctly then it still have timing issues when there are 
several thread accessing the zip file system, is that correct?

-Alan


More information about the nio-dev mailing list