Bug in Files.copy() where the source Path is a directory... It _is_ a bug, right?

Michael Hall mik3hall at gmail.com
Thu Dec 11 10:10:48 UTC 2014


On Dec 11, 2014, at 1:49 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 10/12/2014 22:06, Francis Galiegue wrote:
>> :
>> 
>> As to other existing java.nio.file FileSystem implmentations, I only
>> know of two:
>> 
>> * https://github.com/google/jimfs --> an in-memory FileSystem, by Google;
>> * https://github.com/fge/java7-fs-ftp --> meh, that was my first
>> attempt as a custom FileSystem and prompted me to create -base and
>> others; not yet rebased on -base.
>> 
>> 
> I don't know if anyone is maintaining a catalog anywhere, we usually only hear about custom providers when folks show up here with questions or bug reports.
> 
> A quick search finds a number of providers, one for Amazon S3 (that I wasn't aware of), ssh, CIFS, and one for ZIP and several other archive formats. I don't know how complete they are of course.
> 
> In the JDK then we've included the zip provider since JDK 7 and a new one in JDK 9 is the "jrt" file system that is a read-only file system to access the class and resources files in a runtime image (this is what javac and other tools in the JDK now use).
> 
> In general then creating file system providers has been somewhat of a niche (but fun) area. It would be good to do a survey of what exists, create a catalog and see if there are opportunities to collaborate.


https://github.com/marschall/memoryfilesystem

I think I saw a change roll through that might of been related to this list thread.

My own trz…
https://github.com/mik3hall/trz

Mainly uses FileSystemProvider to expose native OS X file system API’s as nio.2 attributes. Some not really usable attempts at native OS X WatchServices. Not affected by this bug and maybe not a real FileSystem. But if you’re keeping a list.
  
Michael Hall

trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz

HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe

AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20141211/80fb87cf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5262 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20141211/80fb87cf/smime-0001.p7s>


More information about the nio-dev mailing list