Please sign in to comment.
Fix bug #8112: don't special case Comparable and Comparator methods a…
…nymore. Before this fix, Comparable.compareTo(Object) and Comparator.compare(Object,Object) are specially removed and hence only generic-bound compare() remained in Mono.Android.dll. This resulted in a side effect that is bug #8112 - when generic information was unavailable, it still removed Object-based compareTo() and compare(), which were the only one implementation and resulted in missing method error. This fix changes the way to lookup methods to save in API XML; only "really-declared" methods remain. For generic methods JRE automatically adds overloads for those methods with Object. We now skip them (which gives consistent output with AOSP XML).
- Loading branch information...