src/share/classes/jdk/nio/zipfs/ZipFileSystemProvider.java

Print this page

        

*** 269,278 **** --- 269,279 ---- { return toZipPath(path).newOutputStream(options); } @Override + @SuppressWarnings("unchecked") // Cast to A public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, LinkOption... options) throws IOException { if (type == BasicFileAttributes.class || type == ZipFileAttributes.class)