hotspot/src/share/vm/classfile/systemDictionary.hpp
changeset 33593 60764a78fa5c
parent 33160 c59f1676d27e
child 33602 16053580a684
--- a/hotspot/src/share/vm/classfile/systemDictionary.hpp	Wed Oct 21 13:46:25 2015 +0000
+++ b/hotspot/src/share/vm/classfile/systemDictionary.hpp	Fri Oct 23 16:48:38 2015 -0400
@@ -547,10 +547,10 @@
 
   // Record the error when the first attempt to resolve a reference from a constant
   // pool entry to a class fails.
-  static void add_resolution_error(constantPoolHandle pool, int which, Symbol* error,
+  static void add_resolution_error(const constantPoolHandle& pool, int which, Symbol* error,
                                    Symbol* message);
   static void delete_resolution_error(ConstantPool* pool);
-  static Symbol* find_resolution_error(constantPoolHandle pool, int which,
+  static Symbol* find_resolution_error(const constantPoolHandle& pool, int which,
                                        Symbol** message);
 
  protected: