Re: [12] (AIX) 8207744: Clean up inconsistent use of opendir/closedir versus opendir64/closedir64

2018-07-28 Thread B. Blaser
I checked Linux [1], Solaris [2], MacOS [3], FreeBSD [4] and AIX [5] docs and I tried to summarize 64-bit directory usage as follows: * [1] & [2] seem to use 'opendir/closedir/DIR' in conjunction with 'readdir64' * [3] seems to be based on [4] which doesn't provide any specific 64-bit interface for

List Windows FileStores misses named mounts

2018-07-28 Thread Bernd Eckenfels
Hello, I noticed that fs.getRootDirectories() or fs.getFileStores() on Windows only list the Windows drives, but not other disks mounted on a path. When I do the following I actually do get a FileStore for a Name-mounted FS: FileSystem fs = FileSystems.getDefault(); Iterable roo

Re: 8143850: retrofit ArrayDeque to implement List

2018-07-28 Thread Stuart Marks
Hi, I finally got some time to get my head around this. Conceptually, I like the idea of a List that's stored in a circular array, like ArrayDeque. The best way to manifest this in the API isn't obvious though. I filed the bug as "retrofit ArrayDeque to implement List" but of course it doesn't

Re: 8143850: retrofit ArrayDeque to implement List

2018-07-28 Thread Alex Foster
Hi, Here's my current proposal: https://pastebin.com/EABgwLYS Alex From: Stuart Marks Sent: July 28, 2018 8:11 PM To: Martin Buchholz; Alex Foster Cc: Doug Lea; core-libs-dev@openjdk.java.net Subject: Re: 8143850: retrofit ArrayDeque to implement List Hi, I

Re: List Windows FileStores misses named mounts

2018-07-28 Thread Alan Bateman
On 28/07/2018 21:42, Bernd Eckenfels wrote: Is there a reason why named Mounts are not listed and is there a cleaner way (without going through the FSP SPI) to get to its FileStore The implementation only enumerates volumes that are associated with a drive letter. It's something that doesn't