-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P2
-
Affects Version/s: 7
-
Component/s: core-libs
-
generic
-
generic
Since b37 ZipFile/JarFile constructors silently accept any existent file irrespective of it's format.
Even through such cases are not specified obviously, the constructors historically threw ZipException/IOException if file format is not zip or jar.
Even through such cases are not specified obviously, the constructors historically threw ZipException/IOException if file format is not zip or jar.
- duplicates
-
JDK-6763122 ZipFile ctor does not throw exception when file is not a zip file
-
- Resolved
-