elharo opened a new issue, #98:
URL: https://github.com/apache/maven-jarsigner/issues/98
The `catch (Exception e)` block in `isZipFile()` silently swallows all
exceptions, including `SecurityException` (e.g. from a `SecurityManager`
denying file read access).
A security violation should propagate, not be treated as "not a zip file."
**File:** `JarSignerUtil.java:62`
```java
} catch (Exception e) {
// ignore, will fail below
}
```
**Suggested fix:** Catch `IOException` specifically instead of `Exception`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]