1.1 --- a/src/share/vm/oops/instanceKlass.hpp Tue Apr 15 14:34:48 2014 -0700 1.2 +++ b/src/share/vm/oops/instanceKlass.hpp Mon Apr 14 14:27:45 2014 -0400 1.3 @@ -518,14 +518,14 @@ 1.4 static Method* find_instance_method(Array<Method*>* methods, Symbol* name, Symbol* signature); 1.5 1.6 // find a local method index in default_methods (returns -1 if not found) 1.7 - static int find_method_index(Array<Method*>* methods, Symbol* name, Symbol* signature); 1.8 + static int find_method_index(Array<Method*>* methods, Symbol* name, Symbol* signature, bool skipping_overpass); 1.9 1.10 // lookup operation (returns NULL if not found) 1.11 - Method* uncached_lookup_method(Symbol* name, Symbol* signature) const; 1.12 + Method* uncached_lookup_method(Symbol* name, Symbol* signature, MethodLookupMode mode) const; 1.13 1.14 // lookup a method in all the interfaces that this class implements 1.15 // (returns NULL if not found) 1.16 - Method* lookup_method_in_all_interfaces(Symbol* name, Symbol* signature, bool skip_default_methods) const; 1.17 + Method* lookup_method_in_all_interfaces(Symbol* name, Symbol* signature, MethodLookupMode mode) const; 1.18 1.19 // lookup a method in local defaults then in all interfaces 1.20 // (returns NULL if not found) 1.21 @@ -1048,6 +1048,10 @@ 1.22 // Returns the array class with this class as element type 1.23 Klass* array_klass_impl(bool or_null, TRAPS); 1.24 1.25 + // find a local method (returns NULL if not found) 1.26 + Method* find_method_impl(Symbol* name, Symbol* signature, bool skipping_overpass) const; 1.27 + static Method* find_method_impl(Array<Method*>* methods, Symbol* name, Symbol* signature, bool skipping_overpass); 1.28 + 1.29 // Free CHeap allocated fields. 1.30 void release_C_heap_structures(); 1.31 public: