diff src/share/vm/oops/methodOop.hpp @ 6146:eba1d5bce9e8

Merge
author kvn
date Thu, 14 Jun 2012 14:59:52 -0700
parents 2fe087c3e814 e2fe93124108
children d2a62e0f25eb 8150fa46d2ed 6d8f36bcef55
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.hpp	Thu Jun 14 12:21:48 2012 +0200
+++ b/src/share/vm/oops/methodOop.hpp	Thu Jun 14 14:59:52 2012 -0700
@@ -196,8 +196,8 @@
   // C string, for the purpose of providing more useful NoSuchMethodErrors
   // and fatal error handling. The string is allocated in resource
   // area if a buffer is not provided by the caller.
-  char* name_and_sig_as_C_string();
-  char* name_and_sig_as_C_string(char* buf, int size);
+  char* name_and_sig_as_C_string() const;
+  char* name_and_sig_as_C_string(char* buf, int size) const;
 
   // Static routine in the situations we don't have a methodOop
   static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature);