elharo opened a new pull request, #104:
URL: https://github.com/apache/maven-jarsigner/pull/104

   Fixes #99
   
   Adds an explicit null check at the start of `isZipFile()` so that passing 
`null` throws a `NullPointerException`, matching the existing Javadoc contract 
("must not be null").
   
   Previously, passing `null` caused `new JarFile(null)` to throw NPE, which 
was silently caught by the broad `catch (Exception e)` block, causing the 
method to return `false` instead of propagating the error.
   


-- 
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]

Reply via email to