1.1 --- a/src/share/vm/oops/instanceKlass.hpp Fri Dec 12 09:37:54 2014 -0800 1.2 +++ b/src/share/vm/oops/instanceKlass.hpp Tue Dec 16 14:02:00 2014 -0800 1.3 @@ -520,10 +520,16 @@ 1.4 // find a local method (returns NULL if not found) 1.5 Method* find_method(Symbol* name, Symbol* signature) const; 1.6 static Method* find_method(Array<Method*>* methods, Symbol* name, Symbol* signature); 1.7 + 1.8 + // find a local method, but skip static methods 1.9 + Method* find_instance_method(Symbol* name, Symbol* signature); 1.10 static Method* find_instance_method(Array<Method*>* methods, Symbol* name, Symbol* signature); 1.11 1.12 + // true if method matches signature and conforms to skipping_X conditions. 1.13 + static bool method_matches(Method* m, Symbol* signature, bool skipping_overpass, bool skipping_static); 1.14 + 1.15 // find a local method index in default_methods (returns -1 if not found) 1.16 - static int find_method_index(Array<Method*>* methods, Symbol* name, Symbol* signature, bool skipping_overpass); 1.17 + static int find_method_index(Array<Method*>* methods, Symbol* name, Symbol* signature, bool skipping_overpass, bool skipping_static); 1.18 1.19 // lookup operation (returns NULL if not found) 1.20 Method* uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const; 1.21 @@ -1076,7 +1082,7 @@ 1.22 1.23 // find a local method (returns NULL if not found) 1.24 Method* find_method_impl(Symbol* name, Symbol* signature, bool skipping_overpass) const; 1.25 - static Method* find_method_impl(Array<Method*>* methods, Symbol* name, Symbol* signature, bool skipping_overpass); 1.26 + static Method* find_method_impl(Array<Method*>* methods, Symbol* name, Symbol* signature, bool skipping_overpass, bool skipping_static); 1.27 1.28 // Free CHeap allocated fields. 1.29 void release_C_heap_structures();