mirror of
https://github.com/corda/corda.git
synced 2025-06-14 05:08:18 +00:00
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:
@ -13,4 +13,5 @@ package avian;
|
||||
public class ClassAddendum extends Addendum {
|
||||
public Object[] interfaceTable;
|
||||
public Object[] innerClassTable;
|
||||
public Object[] methodTable;
|
||||
}
|
||||
|
Reference in New Issue
Block a user