github google/jimfs v1.1-rc1
1.1-rc1

latest releases: v1.3.0, v1.2, v1.1...
pre-release8 years ago

First release candidate for Jimfs 1.1.

Maven dependency:

<dependency>
  <groupId>com.google.jimfs</groupId>
  <artifactId>jimfs</artifactId>
  <version>1.1-rc1</version>
</dependency>

Javadoc for the release can be viewed at: http://google.github.io/jimfs/releases/1.1-rc1/api/docs/
API diffs between Jimfs 1.0 and this release can be viewed at: http://google.github.io/jimfs/releases/1.1-rc1/api/diffs/

What's new in 1.1

  • Now possible to configure the rate at which a WatchService polls by calling setWatchServiceConfiguration(WatchServiceConfiguration.polling(interval, timeUnit)) when building a Configuration. (#14)
  • Now possible to get the default Configuration (based on the current operating system) that is used when calling the Jimfs factory methods that do not take a Configuration parameter, via Configuration.forCurrentPlatform(). Mainly useful if you want to create a slightly modified (e.g. with a different WatchService polling rate) version of that Configuration.
  • URL objects can now be created from Jimfs Paths (using path.toUri().toURL()). Such URLs support reading the contents of the file through an InputStream, with behavior similar to that of a normal file: URL object. (#13)
  • URIs for directories now end in a trailing /. (#16)
  • Fixed an issue with environments where Java SDK code (such as the FileSystems class and by extension the FileSystemProvider implementations it loads as services) and user code (including the Jimfs entry point class) are loaded by different classloaders. (#18)

Don't miss a new jimfs release

NewReleases is sending notifications on new releases.