You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala.collection.JavaConversions.MapWrapper's entrySet method seems to generate a Set having wrong hashCode() implementation. The hashcode has the possibility of conflict.
override def hashCode = k.hashCode * 41 + v.hashCode
override def equals(other: Any) = other match {
case e : ju.Map.Entry[_, _] => k == e.getKey && v == e.getValue
case _ => false
scala.collection.JavaConversions.MapWrapper's entrySet method seems to generate a Set having wrong hashCode() implementation. The hashcode has the possibility of conflict.
I checked the problem with the following code:
=========
output
The text was updated successfully, but these errors were encountered: