< prev index next >

src/hotspot/share/oops/method.hpp

Print this page
rev 49011 : 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors.
Reviewed-by: coleenp, dholmes

@@ -182,10 +182,15 @@
 
   // Static routine in the situations we don't have a Method*
   static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature);
   static char* name_and_sig_as_C_string(Klass* klass, Symbol* method_name, Symbol* signature, char* buf, int size);
 
+  // Helper routine: get modifier list as C string. The string has a
+  // trailing whitespace if not empty. The string is allocated
+  // in resource area.
+  char* modifiers_as_C_string() const;
+
   Bytecodes::Code java_code_at(int bci) const {
     return Bytecodes::java_code_at(this, bcp_from(bci));
   }
   Bytecodes::Code code_at(int bci) const {
     return Bytecodes::code_at(this, bcp_from(bci));
< prev index next >