--- old/src/hotspot/share/oops/klass.hpp 2018-05-18 03:21:52.239664072 -0400 +++ new/src/hotspot/share/oops/klass.hpp 2018-05-18 03:21:50.683573938 -0400 @@ -466,7 +466,9 @@ // lookup operation for MethodLookupCache friend class MethodLookupCache; virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const; - virtual Method* uncached_lookup_method(const Symbol* name, const Symbol* signature, OverpassLookupMode overpass_mode) const; + virtual Method* uncached_lookup_method(const Symbol* name, const Symbol* signature, + OverpassLookupMode overpass_mode, + PrivateLookupMode = find_private) const; public: Method* lookup_method(const Symbol* name, const Symbol* signature) const { return uncached_lookup_method(name, signature, find_overpass);