* include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
Declare.
* interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
(find_catch_location): New function.
(REPORT_EXCEPTION): New macro.
(throw_internal_error): Use REPORT_EXCEPTION.
(throw_incompatible_class_change_error): Likewise.
(throw_null_pointer_exception): Likewise.
(throw_class_format_error): Likewise.
* interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
to REPORT_EXCEPTION.
(INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
(insn_new): Use INTERP_REPORT_EXCEPTION.
(insn_athrow): Likewise.
Remove previous JVMTI exception notifications.
Add JVMTI ExceptionCatch notificatin.
* jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
exception throw.
* gnu/gcj/jvmti/ExceptionEvent.java: Removed.
* gnu/gcj/jvmti/ExceptionEvent.h: Removed.
* classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(jdwpExceptionCB): New function.
(jdwpVMInitCB): Set Exception event handler and enable.
* sources.am: Regenerated.
* Makefile.in: Regenerated.
From-SVN: r124406
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| boehm-gc.h | Loading commit data... | |
| config.h.in | Loading commit data... | |
| darwin-signal.h | Loading commit data... | |
| default-signal.h | Loading commit data... | |
| dwarf2-signal.h | Loading commit data... | |
| execution.h | Loading commit data... | |
| hppa-signal.h | Loading commit data... | |
| i386-signal.h | Loading commit data... | |
| java-assert.h | Loading commit data... | |
| java-chardecomp.h | Loading commit data... | |
| java-chartables.h | Loading commit data... | |
| java-cpool.h | Loading commit data... | |
| java-insns.h | Loading commit data... | |
| java-interp.h | Loading commit data... | |
| java-props.h | Loading commit data... | |
| java-stack.h | Loading commit data... | |
| jni_md.h | Loading commit data... | |
| jvm.h | Loading commit data... | |
| jvmpi.h | Loading commit data... | |
| jvmti-int.h | Loading commit data... | |
| jvmti_md.h | Loading commit data... | |
| mips-signal.h | Loading commit data... | |
| no-gc.h | Loading commit data... | |
| no-threads.h | Loading commit data... | |
| pa-signal.h | Loading commit data... | |
| posix-threads.h | Loading commit data... | |
| posix.h | Loading commit data... | |
| powerpc-signal.h | Loading commit data... | |
| s390-signal.h | Loading commit data... | |
| sh-signal.h | Loading commit data... | |
| sparc-signal.h | Loading commit data... | |
| stamp-h.in | Loading commit data... | |
| win32-signal.h | Loading commit data... | |
| win32-threads.h | Loading commit data... | |
| win32.h | Loading commit data... | |
| x86_64-signal.h | Loading commit data... |