Pankraz76 commented on PR #2376:
URL: https://github.com/apache/maven/pull/2376#issuecomment-2904638784
idk this is not how java works. The scope of the field `lock` is limited to
the block `{}`. not reachable in `final` or `catch`
<img width="915" alt="image"
src="https://github.com/user-attachments/assets/accca27e-eb1d-4c46-b2c1-ba7641d244cf"
/>
its 2 different kind: just see highligh:
<img width="1024" alt="image"
src="https://github.com/user-attachments/assets/b2175ea7-f996-4c35-9a32-3be819340eb7"
/>
--
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]