fix Class.getDeclaredMethods

Internally, the VM augments the method tables for abstract classes
with any inherited abstract methods to make code simpler elsewhere,
but that means we can't use that table to construct the result of
Class.getDeclaredMethods since it would include methods not actually
declared in the class.  This commit ensures that we preserve and use
the original, un-augmented table for that purpose.
This commit is contained in:
Joel Dice
2011-04-09 21:20:56 -06:00
parent 1476243662
commit 00b829b8e8
3 changed files with 40 additions and 25 deletions

View File

@ -13,4 +13,5 @@ package avian;
public class ClassAddendum extends Addendum {
public Object[] interfaceTable;
public Object[] innerClassTable;
public Object[] methodTable;
}