mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix invalid Long.hashCode()
This commit is contained in:
parent
c7a45938f7
commit
f849c070f2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user