Wrapped byte array hash code bug


I have filed this bug a few days ago: https://github.com/scala/bug/issues/11330

This is similar to one that’s been fixed for 2.13: https://github.com/scala/bug/issues/10690

I’m considering taking a crack at this problem myself. It’s the first time I’m touching the scala internal library code, so guidance and/or suggestions would be useful. If I do put together a fix, what’s the likelihood of it being released in a future 2.12.x release? Is there a next release scheduled?



Assuming it does not break the community build (which someone will run for you before merging the PR), I would say pretty high, since breaking the equals/hashCode contract is a pretty serious bug.

Yes: https://github.com/scala/scala/milestone/77

OK, I have ported the fix for issue 10690 to 11330:

I have a build failure here I don’t understand. Will try rebuilding, though I feel it is ready for review. How do I get this on milestone 77?