Changing RubyHash#hash to use HashMap.hashCode to calculate the hash value.