JDK 10 RFR of 8182710: File.listRoots() always returns the root of CD drive

Brian Burkhalter brian.burkhalter at oracle.com
Tue Jun 27 19:05:34 UTC 2017


Hi Peter,

On Jun 24, 2017, at 2:07 PM, Peter Levart <peter.levart at gmail.com> wrote:

> This looks good, but since this is not a performance-critical method, why not use streams?
> 
> For example:
> 
>     […]
> 
> 
> Isn't this nicer compared to:

Indeed it is more appealing. Tested successfully and webrev updated accordingly at http://cr.openjdk.java.net/~bpb/8182710/webrev.01/.

Thanks,

Brian


More information about the core-libs-dev mailing list