THRIFT-2263 java: Always generate good hashCode for Java
Patch: Andrew Gaul