hotspot/src/share/vm/oops/klass.hpp
changeset 4094 1f424b2b2171
parent 2154 72a9b7284ccf
child 4584 e2a449e8cc6f
--- a/hotspot/src/share/vm/oops/klass.hpp	Fri Oct 16 16:14:12 2009 -0700
+++ b/hotspot/src/share/vm/oops/klass.hpp	Sat Oct 17 19:51:05 2009 -0700
@@ -546,7 +546,7 @@
   // For arrays, this returns the name of the element with a leading '['.
   // For classes, this returns the name with a leading 'L' and a trailing ';'
   //     and the package separators as '/'.
-  virtual char* signature_name() const;
+  virtual const char* signature_name() const;
 
   // garbage collection support
   virtual void oop_follow_contents(oop obj) = 0;