summaryrefslogtreecommitdiff
path: root/src/libjvm-jnibridge.c
blob: b8c8592b9d253be227248597f8c58e888be6da7b (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdarg.h>
#include <stdio.h>
#include <assert.h>
#include "jvm/jni.h"

jobject
bitter_jnibridge_JNIBridge_newInterfaceProxy(JNIEnv *env, jobject object, va_list args)
{
   static jobject sv;
   return (sv ? sv : (sv = (*env)->AllocObject(env, (*env)->FindClass(env, "java/lang/reflect/Proxy"))));
}