Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Make MapWrapper.Entry's hashCode conform to the contract in java.util.Map.Entry's documentation #487

Merged
merged 1 commit into from
Mar 1, 2018

Conversation

isnotinvain
Copy link
Contributor

This is a port of scala/scala#6233 , which fixes scala/bug#10663

In the above PR, I also deleted a test (test/files/run/t5880.scala) that was testing for good spread in the (better but incorrect) hashcode implementation. I don't see that same test anywhere in this repo however.

@isnotinvain
Copy link
Contributor Author

Thanks for the fast review @julienrf ! Anything left to do before merging?

@julienrf julienrf merged commit adbe1ef into scala:master Mar 1, 2018
@julienrf julienrf added this to the 0.10.0 milestone Mar 1, 2018
@isnotinvain
Copy link
Contributor Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MapWrapper.hashCode breaks expected contract of java.util.Map
2 participants