CACAO
utf8.inc
Go to the documentation of this file.
1 /* src/vm/utf8.inc - utf8 string functions
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 // This header has no include guard on purpose!
26 // It is meant to be included multiple times
27 
28 #ifndef UTF8
29 # error "You must a function like macro called UTF8 \
30  that accepts 2 arguments to use this header"
31 #endif
32 
33 UTF8( empty, "" )
34 
35 UTF8( java_lang_Object, "java/lang/Object" )
36 
37 UTF8( java_lang_Class, "java/lang/Class" )
38 UTF8( java_lang_ClassLoader, "java/lang/ClassLoader" )
39 UTF8( java_lang_Cloneable, "java/lang/Cloneable" )
40 UTF8( java_lang_SecurityManager, "java/lang/SecurityManager" )
41 UTF8( java_lang_String, "java/lang/String" )
42 UTF8( java_lang_ThreadGroup, "java/lang/ThreadGroup" )
43 
44 UTF8( java_lang_ClassLoader_NativeLibrary, "java/lang/ClassLoader$NativeLibrary" )
45 
46 UTF8( java_lang_ref_SoftReference, "java/lang/ref/SoftReference" )
47 
48 UTF8( java_lang_ref_WeakReference, "java/lang/ref/WeakReference" )
49 
50 UTF8( java_lang_ref_PhantomReference, "java/lang/ref/PhantomReference" )
51 
52 UTF8( java_io_Serializable, "java/io/Serializable" )
53 
54 UTF8( java_lang_Throwable, "java/lang/Throwable" )
55 UTF8( java_lang_Error, "java/lang/Error" )
56 
57 UTF8( java_lang_ClassCircularityError, "java/lang/ClassCircularityError" )
58 
59 UTF8( java_lang_ClassFormatError, "java/lang/ClassFormatError" )
60 
61 UTF8( java_lang_ExceptionInInitializerError, "java/lang/ExceptionInInitializerError" )
62 
63 UTF8( java_lang_IncompatibleClassChangeError, "java/lang/IncompatibleClassChangeError" )
64 
65 UTF8( java_lang_InstantiationError, "java/lang/InstantiationError" )
66 
67 UTF8( java_lang_InternalError, "java/lang/InternalError" )
68 UTF8( java_lang_LinkageError, "java/lang/LinkageError" )
69 
70 UTF8( java_lang_NoClassDefFoundError, "java/lang/NoClassDefFoundError" )
71 
72 UTF8( java_lang_OutOfMemoryError, "java/lang/OutOfMemoryError" )
73 
74 UTF8( java_lang_UnsatisfiedLinkError, "java/lang/UnsatisfiedLinkError" )
75 
76 UTF8( java_lang_UnsupportedClassVersionError, "java/lang/UnsupportedClassVersionError" )
77 
78 UTF8( java_lang_VerifyError, "java/lang/VerifyError" )
79 
80 UTF8( java_lang_VirtualMachineError, "java/lang/VirtualMachineError" )
81 
82 #if defined(ENABLE_JAVASE)
83 UTF8( java_lang_AbstractMethodError, "java/lang/AbstractMethodError" )
84 
85 UTF8( java_lang_NoSuchFieldError, "java/lang/NoSuchFieldError" )
86 
87 UTF8( java_lang_NoSuchMethodError, "java/lang/NoSuchMethodError" )
88 #endif
89 
90 UTF8( java_lang_Exception, "java/lang/Exception" )
91 
92 UTF8( java_lang_ArithmeticException, "java/lang/ArithmeticException" )
93 
94 UTF8( java_lang_ArrayIndexOutOfBoundsException, "java/lang/ArrayIndexOutOfBoundsException" )
95 
96 UTF8( java_lang_ArrayStoreException, "java/lang/ArrayStoreException" )
97 
98 UTF8( java_lang_ClassCastException, "java/lang/ClassCastException" )
99 
100 UTF8( java_lang_ClassNotFoundException, "java/lang/ClassNotFoundException" )
101 
102 UTF8( java_lang_CloneNotSupportedException, "java/lang/CloneNotSupportedException" )
103 
104 UTF8( java_lang_IllegalAccessException, "java/lang/IllegalAccessException" )
105 
106 UTF8( java_lang_IllegalArgumentException, "java/lang/IllegalArgumentException" )
107 
108 UTF8( java_lang_IllegalMonitorStateException, "java/lang/IllegalMonitorStateException" )
109 
110 UTF8( java_lang_InstantiationException, "java/lang/InstantiationException" )
111 
112 UTF8( java_lang_InterruptedException, "java/lang/InterruptedException" )
113 
114 UTF8( java_lang_NegativeArraySizeException, "java/lang/NegativeArraySizeException" )
115 
116 UTF8( java_lang_NullPointerException, "java/lang/NullPointerException" )
117 
118 UTF8( java_lang_RuntimeException, "java/lang/RuntimeException" )
119 
120 UTF8( java_lang_StringIndexOutOfBoundsException, "java/lang/StringIndexOutOfBoundsException" )
121 
122 UTF8( java_lang_reflect_InvocationTargetException, "java/lang/reflect/InvocationTargetException" )
123 
124 UTF8( java_security_PrivilegedActionException, "java/security/PrivilegedActionException" )
125 
126 #if defined(ENABLE_JAVASE)
127 UTF8( java_lang_Void, "java/lang/Void" )
128 #endif
129 
130 UTF8( java_lang_Boolean, "java/lang/Boolean" )
131 UTF8( java_lang_Byte, "java/lang/Byte" )
132 UTF8( java_lang_Character, "java/lang/Character" )
133 UTF8( java_lang_Short, "java/lang/Short" )
134 UTF8( java_lang_Integer, "java/lang/Integer" )
135 UTF8( java_lang_Long, "java/lang/Long" )
136 UTF8( java_lang_Float, "java/lang/Float" )
137 UTF8( java_lang_Double, "java/lang/Double" )
138 
139 #if defined(ENABLE_JAVASE)
140 UTF8( java_lang_StackTraceElement, "java/lang/StackTraceElement" )
141 
142 UTF8( java_lang_reflect_Constructor, "java/lang/reflect/Constructor" )
143 
144 UTF8( java_lang_reflect_Field, "java/lang/reflect/Field" )
145 UTF8( java_lang_reflect_Method, "java/lang/reflect/Method" )
146 
147 # if defined(WITH_JAVA_RUNTIME_LIBRARY_GNU_CLASSPATH)
148 UTF8( java_lang_reflect_VMConstructor, "java/lang/reflect/VMConstructor" )
149 UTF8( java_lang_reflect_VMField, "java/lang/reflect/VMField" )
150 UTF8( java_lang_reflect_VMMethod, "java/lang/reflect/VMMethod" )
151 # endif
152 
153 UTF8( java_util_Vector, "java/util/Vector" )
154 #endif
155 
156 UTF8( InnerClasses, "InnerClasses" )
157 UTF8( ConstantValue, "ConstantValue" )
158 UTF8( Code, "Code" )
159 UTF8( Exceptions, "Exceptions" )
160 UTF8( LineNumberTable, "LineNumberTable" )
161 UTF8( SourceFile, "SourceFile" )
162 
163 #if defined(ENABLE_JAVASE)
164 UTF8( EnclosingMethod, "EnclosingMethod" )
165 UTF8( Signature, "Signature" )
166 UTF8( StackMapTable, "StackMapTable" )
167 
168 # if defined(ENABLE_JVMTI)
169 UTF8( LocalVariableTable, "LocalVariableTable" )
170 # endif
171 
172 # if defined(ENABLE_ANNOTATIONS)
173 UTF8( RuntimeVisibleAnnotations, "RuntimeVisibleAnnotations" )
174 UTF8( RuntimeInvisibleAnnotations, "RuntimeInvisibleAnnotations" )
175 UTF8( RuntimeVisibleParameterAnnotations, "RuntimeVisibleParameterAnnotations" )
176 UTF8( RuntimeInvisibleParameterAnnotations, "RuntimeInvisibleParameterAnnotations" )
177 UTF8( AnnotationDefault, "AnnotationDefault" )
178 # endif
179 #endif
180 
181 UTF8( init, "<init>" )
182 UTF8( clinit, "<clinit>" )
183 UTF8( clone, "clone" )
184 UTF8( finalize, "finalize" )
185 UTF8( invoke, "invoke" )
186 UTF8( main, "main" )
187 UTF8( run, "run" )
188 
189 UTF8( add, "add" )
190 UTF8( dispatch, "dispatch" )
191 UTF8( remove, "remove" )
192 UTF8( addThread, "addThread" )
193 UTF8( removeThread, "removeThread" )
194 UTF8( put, "put" )
195 UTF8( get, "get" )
196 UTF8( uncaughtException, "uncaughtException" )
197 UTF8( value, "value" )
198 
199 UTF8( fillInStackTrace, "fillInStackTrace" )
200 UTF8( findNative, "findNative" )
201 UTF8( getSystemClassLoader, "getSystemClassLoader" )
202 UTF8( initCause, "initCause" )
203 UTF8( loadClass, "loadClass" )
204 UTF8( loadClassInternal, "loadClassInternal" )
205 UTF8( printStackTrace, "printStackTrace" )
206 
207 UTF8( division_by_zero, "/ by zero" )
208 
209 UTF8( Z, "Z" )
210 UTF8( B, "B" )
211 UTF8( C, "C" )
212 UTF8( S, "S" )
213 UTF8( I, "I" )
214 UTF8( J, "J" )
215 UTF8( F, "F" )
216 UTF8( D, "D" )
217 
218 UTF8( void__void, "()V" )
219 UTF8( boolean__void, "(Z)V" )
220 UTF8( byte__void, "(B)V" )
221 UTF8( char__void, "(C)V" )
222 UTF8( short__void, "(S)V" )
223 UTF8( int__void, "(I)V" )
224 UTF8( long__void, "(J)V" )
225 UTF8( float__void, "(F)V" )
226 UTF8( double__void, "(D)V" )
227 UTF8( void__java_lang_Object, "()Ljava/lang/Object;" )
228 UTF8( void__java_lang_Throwable, "()Ljava/lang/Throwable;" )
229 
230 UTF8( void__java_lang_ClassLoader, "()Ljava/lang/ClassLoader;" )
231 UTF8( java_lang_ClassLoader_java_lang_String__J, "(Ljava/lang/ClassLoader;Ljava/lang/String;)J" )
232 UTF8( java_lang_Exception__V, "(Ljava/lang/Exception;)V" )
233 UTF8( java_lang_Object__java_lang_Object, "(Ljava/lang/Object;)Ljava/lang/Object;" )
234 UTF8( java_lang_String__void, "(Ljava/lang/String;)V" )
235 UTF8( java_lang_String__java_lang_Class, "(Ljava/lang/String;)Ljava/lang/Class;" )
236 UTF8( java_lang_Thread__V, "(Ljava/lang/Thread;)V" )
237 UTF8( java_lang_Thread_java_lang_Throwable__V, "(Ljava/lang/Thread;Ljava/lang/Throwable;)V" )
238 UTF8( Ljava_lang_ThreadGroup_Ljava_lang_String__V, "(Ljava/lang/ThreadGroup;Ljava/lang/String;)V" )
239 UTF8( java_lang_Throwable__void, "(Ljava/lang/Throwable;)V" )
240 UTF8( java_lang_Throwable__java_lang_Throwable, "(Ljava/lang/Throwable;)Ljava/lang/Throwable;" )
241 
242 UTF8( null, "null" )
243 UTF8( not_named_yet, "\t<not_named_yet>" )
244 UTF8( array_packagename, "\t<the array package>" )
245 
246 #undef UTF8
247 
248 /*
249  * These are local overrides for various environment variables in Emacs.
250  * Please do not remove this and leave it at the end of the file, where
251  * Emacs will automagically detect them.
252  * ---------------------------------------------------------------------
253  * Local variables:
254  * mode: c
255  * indent-tabs-mode: t
256  * c-basic-offset: 4
257  * tab-width: 4
258  * End:
259  * vim:noexpandtab:sw=4:ts=4:
260  */
java/lang/Integer
#define zero
Definition: md-asm.hpp:83
java/lang/Float
#define UTF8(NAME, STR)
Definition: utf8.cpp:496
java/lang/Boolean
GNU Classpath java/lang/reflect/VMConstructor.
GNU Classpath java/lang/reflect/Field.
GNU Classpath java/lang/StackTraceElement.
int main(int argc, char **argv)
Definition: cacao.cpp:61
GNU Classpath java/lang/reflect/Constructor.
java/lang/Object
static PassRegistry< BasicBlockPrinterPass > Z("BasicBlockPrinterPass")
GNU Classpath java/lang/reflect/Method.
java/lang/Character
static void Exception(jvmtiEnv *jvmti_env, JNIEnv *jni_env, jthread thread, jmethodID method, jlocation location, jobject exception, jmethodID catch_method, jlocation catch_location)
Definition: VMjdwp.cpp:127
java/lang/Double
GNU Classpath java/lang/Throwable.
java/lang/Long
GNU Classpath java/lang/ClassLoader.
GNU Classpath java/lang/String.
#define I(value)
Definition: codegen.c:279
GNU Classpath java/lang/reflect/VMMethod.
java/lang/Byte
java/lang/Short
GNU Classpath java/lang/Class.
GNU Classpath java/lang/reflect/VMField.