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

Fix bugs in handling of valueOf calls for map keys #1085

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

msridhar
Copy link
Collaborator

@msridhar msridhar commented Dec 6, 2024

Fixes the second crash from #1082. Our handling of valueOf calls in map key arguments was a bit hacky and syntactic. Fix to properly check for calls to Integer.valueOf or Long.valueOf.

Copy link

codecov bot commented Dec 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.94%. Comparing base (6c498b6) to head (e9a1fab).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1085      +/-   ##
============================================
+ Coverage     87.87%   87.94%   +0.06%     
- Complexity     2217     2221       +4     
============================================
  Files            85       85              
  Lines          7194     7198       +4     
  Branches       1427     1427              
============================================
+ Hits           6322     6330       +8     
  Misses          438      438              
+ Partials        434      430       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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