mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
add hashCode and equals methods to java/util/Map
Granted, this is weird - but this is what openjdk does. Therefore, some code that is compiled for openjdk (say, protobufs) will treat calls to Map.hashCode as interface calls instead of virtual calls, as they would have previously been under avian's classpath. Also note that this error caused avian to abort in findInterfaceMethod rather than throw an AbstractMethodError or somesuch - but that's a problem for another day.
This commit is contained in:
parent
34b7f8a17e
commit
46f7a45f12
@ -35,6 +35,10 @@ public interface Map<K, V> {
|
||||
|
||||
public Collection<V> values();
|
||||
|
||||
public boolean equals(Object other);
|
||||
|
||||
public int hashCode();
|
||||
|
||||
public interface Entry<K, V> {
|
||||
public K getKey();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user