Exceptions work now with nested builtin_news correctly (set the exception pointer...
[cacao.git] / nat / classcontextnativeTest.c
1 #include <stdio.h>
2 #include "jni.h"
3 #include "types.h"
4 #include "classcontextnativeTest.h"
5
6 /*
7  * Class:     classcontextnativeTest
8  * Method:    a
9  * Signature: ()V
10  */
11 JNIEXPORT void JNICALL Java_classcontextnativeTest_a(JNIEnv *env, jclass clazz){
12         jmethodID mid;
13         printf("classcontextnativeTest_nat: a()\n");
14         mid = (*env)->GetStaticMethodID(env, clazz, "b", "()V");
15         (*env)->CallStaticVoidMethod(env, clazz, mid);
16
17
18 }
19
20
21 /*
22  * Class:     classcontextnativeTest
23  * Method:    k
24  * Signature: ()V
25  */
26 JNIEXPORT void JNICALL Java_classcontextnativeTest_k(JNIEnv *env, jclass clazz){
27         jmethodID mid;
28         printf("classcontextnativeTest_nat: k()\n");
29         mid = (*env)->GetStaticMethodID(env, clazz, "l", "()V");
30         (*env)->CallStaticVoidMethod(env, clazz, mid);
31 }
32
33 /*
34  * Class:     classcontextnativeTest
35  * Method:    y
36  * Signature: ()V
37  */
38 JNIEXPORT void JNICALL Java_classcontextnativeTest_y(JNIEnv *env, jclass clazz) {
39         jmethodID mid;
40         printf("classcontextnativeTest_nat: y()\n");
41         mid = (*env)->GetStaticMethodID(env, clazz, "z", "()V");
42         (*env)->CallStaticVoidMethod(env, clazz, mid);
43 }
44
45