forked from xamarin/jar2xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Atsushi Eno
committed
Nov 6, 2012
1 parent
3a7c404
commit 72a6be6
Showing
2 changed files
with
33 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters