summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/libjava.jvmti/events.java
diff options
context:
space:
mode:
authorkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-22 02:12:12 +0000
committerkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-22 02:12:12 +0000
commit70d635f6d4177265e1222591f266ea38833388fa (patch)
treedc10194c5e3de3be031b390e9eb5e63ac548d9d5 /libjava/testsuite/libjava.jvmti/events.java
parent9e1717590c4380eea632862073bb8437e6ebf4bc (diff)
downloadppe42-gcc-70d635f6d4177265e1222591f266ea38833388fa.tar.gz
ppe42-gcc-70d635f6d4177265e1222591f266ea38833388fa.zip
* jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
events. (check_enabled_event): New function. (check_enabled_events): New function. (post_event): New function. (_Jv_JVMTI_SetEventNotificationMode): New function. (_Jv_JVMTI_SetEventCallbacks): New function. (_Jv_JVMTI_Interface): Define SetEventNotificationMode and SetEventCallbacks members. * include/jvmti-int.h: New file. * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define. (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define. * testsuite/libjava.jvmti/events.java: New file. * testsuite/libjava.jvmti/events.out: New file. * testsuite/libjava.jvmti/natevents.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117133 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.jvmti/events.java')
-rw-r--r--libjava/testsuite/libjava.jvmti/events.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.jvmti/events.java b/libjava/testsuite/libjava.jvmti/events.java
new file mode 100644
index 00000000000..05deeeb2371
--- /dev/null
+++ b/libjava/testsuite/libjava.jvmti/events.java
@@ -0,0 +1,12 @@
+// Test JVMTI event notifications
+
+public class events
+{
+ public static native void do_events_tests ();
+
+ public static void main (String[] args)
+ {
+ System.out.println ("JVMTI event notification tests");
+ do_events_tests ();
+ }
+}
OpenPOWER on IntegriCloud