hg: jdk7/tl/jdk: 7007596: (zipfs) FileSystems.newFileSystem(FileRef...) always employs zipfs regardless the real Path type.

xueming.shen at oracle.com xueming.shen at oracle.com
Fri Feb 11 12:23:18 PST 2011


Changeset: 8711aedb08f2
Author:    sherman
Date:      2011-02-11 12:20 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/8711aedb08f2

7007596: (zipfs) FileSystems.newFileSystem(FileRef...) always employs zipfs regardless the real Path type.
Summary: updated newFileSystem() to throw UOE exception for non-zip/jar file
Reviewed-by: alanb

! src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystemProvider.java
! test/demo/zipfs/ZipFSTester.java
! test/demo/zipfs/basic.sh



More information about the serviceability-dev mailing list