CACAO
java_lang_reflect_VMProxy.cpp
Go to the documentation of this file.
1 /* src/native/vm/gnuclasspath/java_lang_reflect_VMProxy.c - java/lang/reflect/VMProxy
2 
3  Copyright (C) 1996-2013
4  CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
5 
6  This file is part of CACAO.
7 
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2, or (at
11  your option) any later version.
12 
13  This program is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  02110-1301, USA.
22 
23 */
24 
25 
26 #include "config.h"
27 
28 #include <stdlib.h>
29 
30 #include "native/jni.hpp"
31 #include "native/native.hpp"
32 
33 // FIXME
34 //#include "native/include/java_lang_reflect_VMProxy.h"
35 
36 
37 /* native methods implemented by this file ************************************/
38 
39 #if 0
40 static JNINativeMethod methods[] = {
41  { "getProxyClass", "(Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;", (void *) (ptrint) &Java_java_lang_reflect_VMProxy_getProxyClass },
42  { "getProxyData", "(Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/reflect/Proxy$ProxyData;", (void *) (ptrint) &Java_java_lang_reflect_VMProxy_getProxyData },
43  { "generateProxyClass", "(Ljava/lang/ClassLoader;Ljava/lang/reflect/Proxy$ProxyData;)Ljava/lang/Class;", (void *) (ptrint) &Java_java_lang_reflect_VMProxy_generateProxyClass },
44 };
45 #endif
46 
47 
48 /* _Jv_java_lang_reflect_VMProxy_init ******************************************
49 
50  Register native functions.
51 
52 *******************************************************************************/
53 
54 #if 0
56 {
57  Utf8String u = Utf8String::from_utf8("java/lang/reflect/VMProxy");
58 
59  native_method_register(u, methods, NATIVE_METHODS_COUNT);
60 }
61 #endif
62 
63 
64 #if 0
65 /*
66  * Class: java/lang/reflect/VMProxy
67  * Method: getProxyClass
68  * Signature: (Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;
69  */
70 JNIEXPORT java_lang_Class* JNICALL Java_java_lang_reflect_VMProxy_getProxyClass(JNIEnv *env, jclass clazz, java_lang_ClassLoader *par1, java_objectarray *par2)
71 {
72  return NULL;
73 }
74 
75 
76 /*
77  * Class: java/lang/reflect/VMProxy
78  * Method: getProxyData
79  * Signature: (Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/reflect/Proxy$ProxyData;
80  */
81 JNIEXPORT struct java_lang_reflect_Proxy_ProxyData* JNICALL Java_java_lang_reflect_VMProxy_getProxyData(JNIEnv *env, jclass clazz, java_lang_ClassLoader *par1, java_objectarray *par2)
82 {
83  return NULL;
84 }
85 
86 
87 /*
88  * Class: java/lang/reflect/VMProxy
89  * Method: generateProxyClass
90  * Signature: (Ljava/lang/ClassLoader;Ljava/lang/reflect/Proxy$ProxyData;)Ljava/lang/Class;
91  */
92 JNIEXPORT java_lang_Class* JNICALL Java_java_lang_reflect_VMProxy_generateProxyClass(JNIEnv *env, jclass clazz, java_lang_ClassLoader *par1, struct java_lang_reflect_Proxy_ProxyData *par2)
93 {
94  return NULL;
95 }
96 #endif
97 
98 
99 /*
100  * These are local overrides for various environment variables in Emacs.
101  * Please do not remove this and leave it at the end of the file, where
102  * Emacs will automagically detect them.
103  * ---------------------------------------------------------------------
104  * Local variables:
105  * mode: c++
106  * indent-tabs-mode: t
107  * c-basic-offset: 4
108  * tab-width: 4
109  * End:
110  */
_Jv_JNIEnv JNIEnv
Definition: jni.hpp:112
#define NATIVE_METHODS_COUNT
Definition: native.hpp:45
void _Jv_java_lang_reflect_VMProxy_init()
static JNINativeMethod methods[]
static Utf8String from_utf8(const char *, size_t)
Definition: utf8.cpp:335
GNU Classpath java/lang/ClassLoader.
uintptr_t ptrint
Definition: types.hpp:54
GNU Classpath java/lang/Class.