Zip filesystem provider has an unnecessary limitation...

Francis Galiegue fgaliegue at gmail.com
Mon Mar 21 10:38:28 UTC 2016


If I try and FileSystems.newFileSystem(somePath, ...) where somePath
is some file name NOT ending with .zip or .jar, I get an
UnsupportedOperationException.

Why? This is a completely arbitrary limitation :(

-- 
Francis Galiegue, fgaliegue at gmail.com, https://github.com/fge
JSON Schema in Java: http://json-schema-validator.herokuapp.com
Parsers in pure Java: https://github.com/fge/grappa


More information about the nio-dev mailing list