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
At line 91 in run/structural.scala , the test checks that the value of "r.p(0).hashCode()" is > 0. Object.hashcode() is not guaranteed to return a positive value. Oracle JVMs seems to always return a positive value, but this is implementation specific detail. Further, I'm not entirely sure what the check is aimed to test. Even in the case where hashCode() only returns positive values, all that would prove is that "r.p(0)" successfully resolves to any object.
The text was updated successfully, but these errors were encountered:
At line 91 in run/structural.scala , the test checks that the value of "r.p(0).hashCode()" is > 0. Object.hashcode() is not guaranteed to return a positive value. Oracle JVMs seems to always return a positive value, but this is implementation specific detail. Further, I'm not entirely sure what the check is aimed to test. Even in the case where hashCode() only returns positive values, all that would prove is that "r.p(0)" successfully resolves to any object.
The text was updated successfully, but these errors were encountered: