Merged revisions 7797-7917 via svnmerge from
[cacao.git] / src / native / vm / gnu / java_lang_reflect_VMProxy.c
1 /* src/native/vm/gnu/java_lang_reflect_VMProxy.c - java/lang/reflect/VMProxy
2
3    Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel,
4    C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5    E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6    J. Wenninger, Institut f. Computersprachen - TU Wien
7
8    This file is part of CACAO.
9
10    This program is free software; you can redistribute it and/or
11    modify it under the terms of the GNU General Public License as
12    published by the Free Software Foundation; either version 2, or (at
13    your option) any later version.
14
15    This program is distributed in the hope that it will be useful, but
16    WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with this program; if not, write to the Free Software
22    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23    02110-1301, USA.
24
25    $Id: java_lang_reflect_VMProxy.c 7910 2007-05-16 08:02:52Z twisti $
26
27 */
28
29
30 #include "config.h"
31
32 #include <stdlib.h>
33
34 #include "native/jni.h"
35 #include "native/native.h"
36
37 #include "native/include/java_lang_Class.h"
38 #include "native/include/java_lang_ClassLoader.h"
39
40 #include "native/include/java_lang_reflect_VMProxy.h"
41
42
43 /* native methods implemented by this file ************************************/
44
45 #if 0
46 static JNINativeMethod methods[] = {
47         { "getProxyClass",      "(Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;",                   (void *) (ptrint) &Java_java_lang_reflect_VMProxy_getProxyClass      },
48         { "getProxyData",       "(Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/reflect/Proxy$ProxyData;", (void *) (ptrint) &Java_java_lang_reflect_VMProxy_getProxyData       },
49         { "generateProxyClass", "(Ljava/lang/ClassLoader;Ljava/lang/reflect/Proxy$ProxyData;)Ljava/lang/Class;",  (void *) (ptrint) &Java_java_lang_reflect_VMProxy_generateProxyClass },
50 };
51 #endif
52
53
54 /* _Jv_java_lang_reflect_VMProxy_init ******************************************
55
56    Register native functions.
57
58 *******************************************************************************/
59
60 void _Jv_java_lang_reflect_VMProxy_init(void)
61 {
62 #if 0
63         utf *u;
64
65         u = utf_new_char("java/lang/reflect/VMProxy");
66
67         native_method_register(u, methods, NATIVE_METHODS_COUNT);
68 #endif
69 }
70
71
72 #if 0
73 /*
74  * Class:     java/lang/reflect/VMProxy
75  * Method:    getProxyClass
76  * Signature: (Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;
77  */
78 JNIEXPORT java_lang_Class* JNICALL Java_java_lang_reflect_VMProxy_getProxyClass(JNIEnv *env, jclass clazz, java_lang_ClassLoader *par1, java_objectarray *par2)
79 {
80         return NULL;
81 }
82
83
84 /*
85  * Class:     java/lang/reflect/VMProxy
86  * Method:    getProxyData
87  * Signature: (Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/reflect/Proxy$ProxyData;
88  */
89 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)
90 {
91         return NULL;
92 }
93
94
95 /*
96  * Class:     java/lang/reflect/VMProxy
97  * Method:    generateProxyClass
98  * Signature: (Ljava/lang/ClassLoader;Ljava/lang/reflect/Proxy$ProxyData;)Ljava/lang/Class;
99  */
100 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)
101 {
102         return NULL;
103 }
104 #endif
105
106
107 /*
108  * These are local overrides for various environment variables in Emacs.
109  * Please do not remove this and leave it at the end of the file, where
110  * Emacs will automagically detect them.
111  * ---------------------------------------------------------------------
112  * Local variables:
113  * mode: c
114  * indent-tabs-mode: t
115  * c-basic-offset: 4
116  * tab-width: 4
117  * End:
118  */