Marti2203 opened a new pull request, #847:
URL: https://github.com/apache/commons-compress/pull/847

   Fixes [COMPRESS-736](https://issues.apache.org/jira/browse/COMPRESS-736).
   
   `PackingOptions.isPassFile(String)` returned the result of the first 
directory rule (a pass entry not ending in `.class`) even when it did not 
match, so later exact or directory rules were never checked. This returns true 
on a match and otherwise continues with the next rule.
   
   `PackingOptionsTest.testIsPassFileChecksAllRules` fails without the change 
and passes with it; `PackingOptionsTest` and `mvn -B -DskipTests -DskipITs` 
pass.
   
   This issue was found by an LLM-Enhanced Static Analysis Engine and verified 
manually. The patch and this description were prepared with AI assistance 
(Claude Code) and reviewed by me; the commit carries an `Assisted-By:` trailer.
   


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