GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — Fix #1994: log exceptions from IpcNamedLock.tryUnlock() by elharo · Pull Request #2045 · apache/maven-resolver Conversation
Contributor
Fixes #1994
Fix: log the failure at WARN level instead of swallowing it. The exception is still not propagated, preserving the best-effort cleanup semantics that must not crash the calling thread. Test: added
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
gnodet
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clean, minimal fix that adds WARN-level logging for a previously silent exception catch in Two minor style notes (non-blocking):
This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying. Claude Code on behalf of gnodet
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
https://github.com/apache/maven-resolver/blob/89f2bc1b284e0024c3a4121f55dd0f4709d35009/maven-resolver-impl/src/test/java/org/eclipse/aether/internal/impl/DefaultRepositorySystemReentrancyTest.java seems to have broken the CI and went in without a pull request. We really need to block this at the repo level. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The Verify failures are pre-existing on master, not caused by this change. Master commit 89f2bc1 has the identical 18 failing Verify jobs (e.g. windows-latest jdk-21-zulu 4.0.0-rc-6 fails on the same lines). The failure is a test-compile error in the maven-resolver-impl module: introduced by commit f164aa9 This PR only modifies the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Master has been fixed meanwhile. Can you rebase? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@elharo Please assign appropriate label to PR according to the type of change. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Empty catch swallows exceptions in IpcNamedLock.tryUnlock()
There was an error while loading. Please reload this page.