8028438: static superclass method masks default methods

Reviewed-by: hseigel, lfoltan, coleenp
This commit is contained in:
Karen Kinnear 2013-12-03 11:13:14 -08:00
parent b5f2f33aaa
commit 536943884a
5 changed files with 30 additions and 6 deletions

View file

@ -515,6 +515,7 @@ class InstanceKlass: public Klass {
// find a local method (returns NULL if not found)
Method* find_method(Symbol* name, Symbol* signature) const;
static Method* find_method(Array<Method*>* methods, Symbol* name, Symbol* signature);
static Method* find_instance_method(Array<Method*>* methods, Symbol* name, Symbol* signature);
// find a local method index in default_methods (returns -1 if not found)
static int find_method_index(Array<Method*>* methods, Symbol* name, Symbol* signature);