Java 8: new method proposal FileSystems::newFileSystem(Path path, Map<String,?> env, ClassLoader loader)
Janda Martin
jandam at crcdata.cz
Tue Jul 16 06:42:16 UTC 2013
FileSystems static methods are inconsistent. I would expect that "newFileSystem" methods will be same for URI and Path.
newFileSystem for Path is missing "env" parameter. So I can't create ZIP file system from Path (with "create=true").
This was needed as workaround for Bug ID 7156873 (already fixed in Java7u40-b1). http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7156873
Should I create record to bug tracking system?
Thank you.
Martin
More information about the core-libs-dev
mailing list