< prev index next >

src/hotspot/share/prims/stackwalk.cpp

Print this page

        

@@ -149,12 +149,12 @@
 
     if (!need_method_info(mode) && get_caller_class(mode) &&
           index == start_index && method->caller_sensitive()) {
       ResourceMark rm(THREAD);
       THROW_MSG_0(vmSymbols::java_lang_UnsupportedOperationException(),
-        err_msg("StackWalker::getCallerClass called from @CallerSensitive '%s' method",
-                method->external_name()));
+        err_msg("StackWalker::getCallerClass called from @CallerSensitive %s method",
+                method->name_and_sig_as_C_string()));
     }
     // fill in StackFrameInfo and initialize MemberName
     stream.fill_frame(index, frames_array, method, CHECK_0);
     if (++frames_decoded >= max_nframes)  break;
   }
< prev index next >