f40678c1489795bc1abe303b2036248d4596bdc6
[cacao.git] / src / native / vm / gnuclasspath / java_lang_reflect_VMProxy.c
1 /* src/native/vm/gnuclasspath/java_lang_reflect_VMProxy.c - java/lang/reflect/VMProxy
2
3    Copyright (C) 1996-2005, 2006, 2007, 2008
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.h"
31 #include "native/native.h"
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 void _Jv_java_lang_reflect_VMProxy_init(void)
55 {
56 #if 0
57         utf *u;
58
59         u = utf_new_char("java/lang/reflect/VMProxy");
60
61         native_method_register(u, methods, NATIVE_METHODS_COUNT);
62 #endif
63 }
64
65
66 #if 0
67 /*
68  * Class:     java/lang/reflect/VMProxy
69  * Method:    getProxyClass
70  * Signature: (Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;
71  */
72 JNIEXPORT java_lang_Class* JNICALL Java_java_lang_reflect_VMProxy_getProxyClass(JNIEnv *env, jclass clazz, java_lang_ClassLoader *par1, java_objectarray *par2)
73 {
74         return NULL;
75 }
76
77
78 /*
79  * Class:     java/lang/reflect/VMProxy
80  * Method:    getProxyData
81  * Signature: (Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/reflect/Proxy$ProxyData;
82  */
83 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)
84 {
85         return NULL;
86 }
87
88
89 /*
90  * Class:     java/lang/reflect/VMProxy
91  * Method:    generateProxyClass
92  * Signature: (Ljava/lang/ClassLoader;Ljava/lang/reflect/Proxy$ProxyData;)Ljava/lang/Class;
93  */
94 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)
95 {
96         return NULL;
97 }
98 #endif
99
100
101 /*
102  * These are local overrides for various environment variables in Emacs.
103  * Please do not remove this and leave it at the end of the file, where
104  * Emacs will automagically detect them.
105  * ---------------------------------------------------------------------
106  * Local variables:
107  * mode: c
108  * indent-tabs-mode: t
109  * c-basic-offset: 4
110  * tab-width: 4
111  * End:
112  */