RFR: JDK-8147460: Clean-up jrtfs implementation

Alan Bateman Alan.Bateman at oracle.com
Thu Apr 14 19:21:34 UTC 2016



On 14/04/2016 20:07, Xueming Shen wrote:
> :
>
> There is a test that passing a null filter into 
> Files.newDirectoryStream(path, filter)
> and then FileSystemProvider.newDirectoryStream(...), to mean "no 
> filter". My reading
> of the spec suggests it should get a NPE. (to use the 
> nweDirectoryStream(dir) for
> accept all). Can you confirm?
Yes, it should fail, it does not mean "no filter".

-Alan



More information about the core-libs-dev mailing list