JDK 10 RFR of 8182710: File.listRoots() always returns the root of CD drive
Roger.Riggs at Oracle.com
Thu Jun 29 14:21:56 UTC 2017
+1, oh yes,
Just interesting how much attention this snippet of code received. :)
On 6/29/2017 10:18 AM, Brian Burkhalter wrote:
> Hi Roger,
> On Jun 29, 2017, at 6:58 AM, Roger Riggs <Roger.Riggs at oracle.com
> <mailto:Roger.Riggs at oracle.com>> wrote:
>> Pretty code; though the part about creating an array to create a
>> BitSet is a bit non-obvious.
>> But how much garbage does it create and extra runtime doing all that
>> fancy stuff.
> Probably either of the second two versions I posted generates more
> than my original brute approach. Beaty at the expense of efficiency
>> Now if BitSet had a constructor from the bits in a long...
> Could be an RFE …
> Is this also a +1?
More information about the core-libs-dev