Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom ReferenceBinding.hashCode() #3584

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jukzi
Copy link
Contributor

@jukzi jukzi commented Jan 21, 2025

To avoid possible hash collisions.

Instead of manipulating the existing key in a map remove exiting entry and put the updated entry.
Use a HashMap instead of SimpleLookupTable.

#3412

@jukzi jukzi force-pushed the ReferenceBinding.hashCode() branch 2 times, most recently from e5d7d96 to 1d29592 Compare January 21, 2025 12:50
To avoid possible hash collisions.

Instead of manipulating the existing key in a map remove exiting entry
and put the updated entry.
Use a HashMap instead of SimpleLookupTable.

eclipse-jdt#3412
@jukzi jukzi force-pushed the ReferenceBinding.hashCode() branch from 1d29592 to 1592f16 Compare January 21, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant