equal
deleted
inserted
replaced
1780 st->cr(); |
1780 st->cr(); |
1781 } |
1781 } |
1782 } |
1782 } |
1783 } |
1783 } |
1784 } |
1784 } |
|
1785 } |
|
1786 |
|
1787 /** |
|
1788 * Print the throwable stack trace by calling the Java method java.lang.Throwable.printStackTrace(). |
|
1789 */ |
|
1790 void java_lang_Throwable::java_printStackTrace(Handle throwable, TRAPS) { |
|
1791 assert(throwable->is_a(SystemDictionary::Throwable_klass()), "Throwable instance expected"); |
|
1792 JavaValue result(T_VOID); |
|
1793 JavaCalls::call_virtual(&result, |
|
1794 throwable, |
|
1795 KlassHandle(THREAD, SystemDictionary::Throwable_klass()), |
|
1796 vmSymbols::printStackTrace_name(), |
|
1797 vmSymbols::void_method_signature(), |
|
1798 THREAD); |
1785 } |
1799 } |
1786 |
1800 |
1787 void java_lang_Throwable::fill_in_stack_trace(Handle throwable, const methodHandle& method, TRAPS) { |
1801 void java_lang_Throwable::fill_in_stack_trace(Handle throwable, const methodHandle& method, TRAPS) { |
1788 if (!StackTraceInThrowable) return; |
1802 if (!StackTraceInThrowable) return; |
1789 ResourceMark rm(THREAD); |
1803 ResourceMark rm(THREAD); |