gnodet opened a new pull request, #12908: URL: https://github.com/apache/maven/pull/12908
## Summary - Fixed `SoftIdentityReference.equals()` to use `==` instead of `.equals()` for identity comparison - Fixed `SoftIdentityReference.hashCode()` to use `System.identityHashCode()` instead of `.hashCode()` - Updated test assertion to expect correct identity semantics (distinct objects with equal values are treated as different keys) ## Test plan - [x] `SoftIdentityMapTest.shouldUseIdentityComparison` updated to expect 2 computations for equal-but-distinct keys - [x] All 493 tests in `maven-impl` pass (0 failures, 0 errors) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
