src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java
changeset 58465 ff45c1bf8129
parent 57842 abf6ee4c477c
child 58467 72ef2c0faf47
--- a/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java	Fri Oct 04 11:45:16 2019 -0700
+++ b/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java	Fri Oct 04 15:51:17 2019 -0400
@@ -138,7 +138,7 @@
                     new END().write(os, 0, forceEnd64);
                 }
             } else {
-                throw new FileSystemNotFoundException(zfpath.toString());
+                throw new NoSuchFileException(zfpath.toString());
             }
         }
         // sm and existence check