aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jvmti/dummyagent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.jvmti/dummyagent.c')
-rw-r--r--libjava/testsuite/libjava.jvmti/dummyagent.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.jvmti/dummyagent.c b/libjava/testsuite/libjava.jvmti/dummyagent.c
new file mode 100644
index 0000000..9e704a0
--- /dev/null
+++ b/libjava/testsuite/libjava.jvmti/dummyagent.c
@@ -0,0 +1,9 @@
+#include <jvmti.h>
+
+JNIEXPORT jint JNICALL
+Agent_OnLoad (JavaVM *vm, char *options, void *reserved)
+{
+ // nothing -- this is just a stub to get JVMTI properly
+ // initialized
+}
+