mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -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
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return hashCode(value);
|
||||||
|
}
|
||||||
|
|
||||||
@GeneratedBy(LongNativeGenerator.class)
|
@GeneratedBy(LongNativeGenerator.class)
|
||||||
public native int hashCode();
|
private static native int hashCode(long value);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object other) {
|
public boolean equals(Object other) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user