Fix invalid Long.hashCode()

This commit is contained in:
Alexey Andreev 2015-01-29 19:10:27 +04:00
parent c7a45938f7
commit f849c070f2

View File

@ -199,8 +199,12 @@ public class TLong extends TNumber implements TComparable<TLong> {
}
@Override
public int hashCode() {
return hashCode(value);
}
@GeneratedBy(LongNativeGenerator.class)
public native int hashCode();
private static native int hashCode(long value);
@Override
public boolean equals(Object other) {