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

Langer, Christoph christoph.langer at sap.com
Tue Jun 27 19:12:39 UTC 2017


Hi Brian,

this looks nice.

Best regards
Christoph

> -----Original Message-----
> From: core-libs-dev [mailto:core-libs-dev-bounces at openjdk.java.net] On
> Behalf Of Brian Burkhalter
> Sent: Dienstag, 27. Juni 2017 21:06
> To: Peter Levart <peter.levart at gmail.com>
> Cc: core-libs-dev <core-libs-dev at openjdk.java.net>
> Subject: Re: JDK 10 RFR of 8182710: File.listRoots() always returns the root of
> CD drive
> 
> 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