hotspot/src/share/vm/code/debugInfoRec.cpp
changeset 3908 24b55ad4c228
parent 3686 69c1b5228547
child 4017 0cb087a2b9a9
--- a/hotspot/src/share/vm/code/debugInfoRec.cpp	Tue Sep 15 11:09:34 2009 -0700
+++ b/hotspot/src/share/vm/code/debugInfoRec.cpp	Tue Sep 15 21:53:47 2009 -0700
@@ -299,7 +299,7 @@
   stream()->write_int(sender_stream_offset);
 
   // serialize scope
-  jobject method_enc = (method == NULL)? NULL: method->encoding();
+  jobject method_enc = (method == NULL)? NULL: method->constant_encoding();
   stream()->write_int(oop_recorder()->find_index(method_enc));
   stream()->write_bci(bci);
   assert(method == NULL ||