mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
package file action: correctly report problems with invalid zip files (EA-74396)
This commit is contained in:
+6
-1
@@ -203,6 +203,11 @@ public class PackageFileWorker {
|
||||
|
||||
private static JBZipFile getOrCreateZipFile(File archiveFile) throws IOException {
|
||||
FileUtil.createIfDoesntExist(archiveFile);
|
||||
return new JBZipFile(archiveFile);
|
||||
try {
|
||||
return new JBZipFile(archiveFile);
|
||||
}
|
||||
catch (IllegalArgumentException e) {
|
||||
throw new IOException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user