hotspot/src/share/vm/oops/klass.hpp
changeset 35135 dd2ce9021031
parent 35123 b0b89d83bcf5
parent 34666 1c7168ea0034
child 35877 a2a62511d0f8
child 35544 c7ec868d0923
--- a/hotspot/src/share/vm/oops/klass.hpp	Thu Dec 17 23:36:28 2015 +0000
+++ b/hotspot/src/share/vm/oops/klass.hpp	Fri Dec 18 12:39:02 2015 -0800
@@ -411,9 +411,9 @@
   // lookup operation for MethodLookupCache
   friend class MethodLookupCache;
   virtual Klass* find_field(Symbol* name, Symbol* signature, fieldDescriptor* fd) const;
-  virtual Method* uncached_lookup_method(Symbol* name, Symbol* signature, OverpassLookupMode overpass_mode) const;
+  virtual Method* uncached_lookup_method(const Symbol* name, const Symbol* signature, OverpassLookupMode overpass_mode) const;
  public:
-  Method* lookup_method(Symbol* name, Symbol* signature) const {
+  Method* lookup_method(const Symbol* name, const Symbol* signature) const {
     return uncached_lookup_method(name, signature, find_overpass);
   }