java.nio.file.FileSystem TCK

Alan Bateman Alan.Bateman at
Wed Aug 11 17:12:50 UTC 2021

On 11/08/2021 17:54, Mantas Gridinas wrote:
> Hi!
> I would like to implement my own filesystem driver for network based
> file systems (think Amazon S3, Azure Storage, Google Drive, etc.)
> Reading through JDK source code I found the following tests:
> Would these suffice to cover expectations required by general use case
> when depending on FileSystem API? Are there any more?
There isn't the equivalent of a TCK for service provider implementations 
but there are tests in the repo for the default provider, the zipfs 
provider, and jrtfs provider as these are the 3 implementations in the 
JDK. They may give you some ideas on the types of tests that you will 
need for your provider. It's probably best to follow on nio-dev if you 
have questions rather than here.

AFAIK the Google folks have a NIO file system provider for Google cloud 
storage already ("gs" URI scheme). Also Microsoft folks seem to have 
something for Azure blob storage ("azb" URI scheme). So it's possible 
there are file system providers out there for what you want.


More information about the jdk-dev mailing list