Bundled zip FileSystemProvider fails to recognize "readonly"?
Alan Bateman
Alan.Bateman at oracle.com
Fri Apr 17 13:20:07 UTC 2015
On 14/04/2015 13:36, Francis Galiegue wrote:
> My recall is that at some point this flag was supported by the fs
> provider but now the page seems to have changed:
>
> http://docs.oracle.com/javase/8/docs/technotes/guides/io/fsp/zipfilesystemproviderprops.html
>
> Did I misread the documentation completely and it was never supported?
>
"create" and "encoding" have been the two documented property names, I
don't ever recall having "readonly". Sherman - do you remember anything
on this?
The zip provider just tests if the zip file is writable and if so then
newFileSystem creates a writeable file system. If the zip file is not
writable (or it can't be determined) then newFileSystem creates a
read-only file system.
-Alan
More information about the nio-dev
mailing list