hotspot/src/share/vm/utilities/xmlstream.cpp
changeset 24002 4e6a72032a99
parent 13728 882756847a04
child 24424 2658d7834c6e
--- a/hotspot/src/share/vm/utilities/xmlstream.cpp	Thu Apr 10 09:26:24 2014 +0200
+++ b/hotspot/src/share/vm/utilities/xmlstream.cpp	Thu Apr 10 11:38:12 2014 +0200
@@ -396,10 +396,10 @@
 }
 
 void xmlStream::method_text(methodHandle method) {
+  ResourceMark rm;
   assert_if_no_error(inside_attrs(), "printing attributes");
   if (method.is_null())  return;
-  //method->print_short_name(text());
-  method->method_holder()->name()->print_symbol_on(text());
+  text()->print(method->method_holder()->external_name());
   print_raw(" ");  // " " is easier for tools to parse than "::"
   method->name()->print_symbol_on(text());
   print_raw(" ");  // separator