1 #include "xmlvm.h"
2 #include "java_lang_Class.h"
3 #include "java_lang_Object.h"
4 #include "java_lang_String.h"
5 
6 #include "java_lang_Thread_State.h"
7 
8 #define XMLVM_CURRENT_CLASS_NAME Thread_State
9 #define XMLVM_CURRENT_PKG_CLASS_NAME java_lang_Thread_State
10 
11 __TIB_DEFINITION_java_lang_Thread_State __TIB_java_lang_Thread_State = {
12     0, // classInitializationBegan
13     0, // classInitialized
14     -1, // initializerThreadId
15     __INIT_java_lang_Thread_State, // classInitializer
16     "java.lang.Thread$State", // className
17     "java.lang", // package
18     JAVA_NULL, // enclosingClassName
19     JAVA_NULL, // enclosingMethodName
20     "Ljava/lang/Enum<Ljava/lang/Thread$State;>;", // signature
21     (__TIB_DEFINITION_TEMPLATE*) &__TIB_java_lang_Enum, // extends
22     sizeof(java_lang_Thread_State), // sizeInstance
23     XMLVM_TYPE_CLASS};
24 
25 JAVA_OBJECT __CLASS_java_lang_Thread_State;
26 JAVA_OBJECT __CLASS_java_lang_Thread_State_1ARRAY;
27 JAVA_OBJECT __CLASS_java_lang_Thread_State_2ARRAY;
28 JAVA_OBJECT __CLASS_java_lang_Thread_State_3ARRAY;
29 //XMLVM_BEGIN_IMPLEMENTATION
30 //XMLVM_END_IMPLEMENTATION
31 
32 static JAVA_OBJECT _STATIC_java_lang_Thread_State_NEW;
33 static JAVA_OBJECT _STATIC_java_lang_Thread_State_RUNNABLE;
34 static JAVA_OBJECT _STATIC_java_lang_Thread_State_BLOCKED;
35 static JAVA_OBJECT _STATIC_java_lang_Thread_State_WAITING;
36 static JAVA_OBJECT _STATIC_java_lang_Thread_State_TIMED_WAITING;
37 static JAVA_OBJECT _STATIC_java_lang_Thread_State_TERMINATED;
38 static JAVA_OBJECT _STATIC_java_lang_Thread_State__VALUES;
39 
40 #include "xmlvm-reflection.h"
41 
42 static XMLVM_FIELD_REFLECTION_DATA __field_reflection_data[] = {
43 };
44 
45 static XMLVM_CONSTRUCTOR_REFLECTION_DATA __constructor_reflection_data[] = {
46 };
47 
constructor_dispatcher(JAVA_OBJECT constructor,JAVA_OBJECT arguments)48 static JAVA_OBJECT constructor_dispatcher(JAVA_OBJECT constructor, JAVA_OBJECT arguments)
49 {
50     XMLVM_NOT_IMPLEMENTED();
51 }
52 
53 static XMLVM_METHOD_REFLECTION_DATA __method_reflection_data[] = {
54 };
55 
method_dispatcher(JAVA_OBJECT method,JAVA_OBJECT receiver,JAVA_OBJECT arguments)56 static JAVA_OBJECT method_dispatcher(JAVA_OBJECT method, JAVA_OBJECT receiver, JAVA_OBJECT arguments)
57 {
58     XMLVM_NOT_IMPLEMENTED();
59 }
60 
__INIT_java_lang_Thread_State()61 void __INIT_java_lang_Thread_State()
62 {
63     staticInitializerLock(&__TIB_java_lang_Thread_State);
64 
65     // While the static initializer mutex is locked, locally store the value of
66     // whether class initialization began or not
67     int initBegan = __TIB_java_lang_Thread_State.classInitializationBegan;
68 
69     // Whether or not class initialization had already began, it has begun now
70     __TIB_java_lang_Thread_State.classInitializationBegan = 1;
71 
72     staticInitializerUnlock(&__TIB_java_lang_Thread_State);
73 
74     JAVA_LONG curThreadId = (JAVA_LONG)pthread_self();
75     if (initBegan) {
76         if (__TIB_java_lang_Thread_State.initializerThreadId != curThreadId) {
77             // Busy wait until the other thread finishes initializing this class
78             while (!__TIB_java_lang_Thread_State.classInitialized) {
79                 // do nothing
80             }
81         }
82     } else {
83         __TIB_java_lang_Thread_State.initializerThreadId = curThreadId;
84         XMLVM_CLASS_USED("java.lang.Thread$State")
85         __INIT_IMPL_java_lang_Thread_State();
86     }
87 }
88 
__INIT_IMPL_java_lang_Thread_State()89 void __INIT_IMPL_java_lang_Thread_State()
90 {
91     // Initialize base class if necessary
92     XMLVM_CLASS_INIT(java_lang_Enum)
93     __TIB_java_lang_Thread_State.newInstanceFunc = __NEW_INSTANCE_java_lang_Thread_State;
94     // Copy vtable from base class
95     XMLVM_MEMCPY(__TIB_java_lang_Thread_State.vtable, __TIB_java_lang_Enum.vtable, sizeof(__TIB_java_lang_Enum.vtable));
96     // Initialize vtable for this class
97     // Initialize interface information
98     __TIB_java_lang_Thread_State.numImplementedInterfaces = 2;
99     __TIB_java_lang_Thread_State.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 2);
100 
101     // Initialize interfaces if necessary and assign tib to implementedInterfaces
102 
103     XMLVM_CLASS_INIT(java_io_Serializable)
104 
105     __TIB_java_lang_Thread_State.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;
106 
107     XMLVM_CLASS_INIT(java_lang_Comparable)
108 
109     __TIB_java_lang_Thread_State.implementedInterfaces[0][1] = &__TIB_java_lang_Comparable;
110     // Initialize itable for this class
111     __TIB_java_lang_Thread_State.itableBegin = &__TIB_java_lang_Thread_State.itable[0];
112     __TIB_java_lang_Thread_State.itable[XMLVM_ITABLE_IDX_java_lang_Comparable_compareTo___java_lang_Object] = __TIB_java_lang_Thread_State.vtable[6];
113 
114     _STATIC_java_lang_Thread_State_NEW = (java_lang_Thread_State*) JAVA_NULL;
115     _STATIC_java_lang_Thread_State_RUNNABLE = (java_lang_Thread_State*) JAVA_NULL;
116     _STATIC_java_lang_Thread_State_BLOCKED = (java_lang_Thread_State*) JAVA_NULL;
117     _STATIC_java_lang_Thread_State_WAITING = (java_lang_Thread_State*) JAVA_NULL;
118     _STATIC_java_lang_Thread_State_TIMED_WAITING = (java_lang_Thread_State*) JAVA_NULL;
119     _STATIC_java_lang_Thread_State_TERMINATED = (java_lang_Thread_State*) JAVA_NULL;
120     _STATIC_java_lang_Thread_State__VALUES = (org_xmlvm_runtime_XMLVMArray*) JAVA_NULL;
121 
122     __TIB_java_lang_Thread_State.declaredFields = &__field_reflection_data[0];
123     __TIB_java_lang_Thread_State.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
124     __TIB_java_lang_Thread_State.constructorDispatcherFunc = constructor_dispatcher;
125     __TIB_java_lang_Thread_State.declaredConstructors = &__constructor_reflection_data[0];
126     __TIB_java_lang_Thread_State.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
127     __TIB_java_lang_Thread_State.methodDispatcherFunc = method_dispatcher;
128     __TIB_java_lang_Thread_State.declaredMethods = &__method_reflection_data[0];
129     __TIB_java_lang_Thread_State.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
130     __CLASS_java_lang_Thread_State = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_lang_Thread_State);
131     __TIB_java_lang_Thread_State.clazz = __CLASS_java_lang_Thread_State;
132     __TIB_java_lang_Thread_State.baseType = JAVA_NULL;
133     __CLASS_java_lang_Thread_State_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Thread_State);
134     __CLASS_java_lang_Thread_State_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Thread_State_1ARRAY);
135     __CLASS_java_lang_Thread_State_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Thread_State_2ARRAY);
136     java_lang_Thread_State___CLINIT_();
137     //XMLVM_BEGIN_WRAPPER[__INIT_java_lang_Thread_State]
138     //XMLVM_END_WRAPPER
139 
140     __TIB_java_lang_Thread_State.classInitialized = 1;
141 }
142 
__DELETE_java_lang_Thread_State(void * me,void * client_data)143 void __DELETE_java_lang_Thread_State(void* me, void* client_data)
144 {
145     //XMLVM_BEGIN_WRAPPER[__DELETE_java_lang_Thread_State]
146     //XMLVM_END_WRAPPER
147 }
148 
__INIT_INSTANCE_MEMBERS_java_lang_Thread_State(JAVA_OBJECT me,int derivedClassWillRegisterFinalizer)149 void __INIT_INSTANCE_MEMBERS_java_lang_Thread_State(JAVA_OBJECT me, int derivedClassWillRegisterFinalizer)
150 {
151     __INIT_INSTANCE_MEMBERS_java_lang_Enum(me, 0 || derivedClassWillRegisterFinalizer);
152     //XMLVM_BEGIN_WRAPPER[__INIT_INSTANCE_MEMBERS_java_lang_Thread_State]
153     //XMLVM_END_WRAPPER
154 }
155 
__NEW_java_lang_Thread_State()156 JAVA_OBJECT __NEW_java_lang_Thread_State()
157 {    XMLVM_CLASS_INIT(java_lang_Thread_State)
158 java_lang_Thread_State* me = (java_lang_Thread_State*) XMLVM_MALLOC(sizeof(java_lang_Thread_State));
159     me->tib = &__TIB_java_lang_Thread_State;
160     __INIT_INSTANCE_MEMBERS_java_lang_Thread_State(me, 0);
161     //XMLVM_BEGIN_WRAPPER[__NEW_java_lang_Thread_State]
162     //XMLVM_END_WRAPPER
163     return me;
164 }
165 
__NEW_INSTANCE_java_lang_Thread_State()166 JAVA_OBJECT __NEW_INSTANCE_java_lang_Thread_State()
167 {
168     JAVA_OBJECT me = JAVA_NULL;
169     return me;
170 }
171 
java_lang_Thread_State_GET_NEW()172 JAVA_OBJECT java_lang_Thread_State_GET_NEW()
173 {
174     XMLVM_CLASS_INIT(java_lang_Thread_State)
175     return _STATIC_java_lang_Thread_State_NEW;
176 }
177 
java_lang_Thread_State_PUT_NEW(JAVA_OBJECT v)178 void java_lang_Thread_State_PUT_NEW(JAVA_OBJECT v)
179 {
180     XMLVM_CLASS_INIT(java_lang_Thread_State)
181 _STATIC_java_lang_Thread_State_NEW = v;
182 }
183 
java_lang_Thread_State_GET_RUNNABLE()184 JAVA_OBJECT java_lang_Thread_State_GET_RUNNABLE()
185 {
186     XMLVM_CLASS_INIT(java_lang_Thread_State)
187     return _STATIC_java_lang_Thread_State_RUNNABLE;
188 }
189 
java_lang_Thread_State_PUT_RUNNABLE(JAVA_OBJECT v)190 void java_lang_Thread_State_PUT_RUNNABLE(JAVA_OBJECT v)
191 {
192     XMLVM_CLASS_INIT(java_lang_Thread_State)
193 _STATIC_java_lang_Thread_State_RUNNABLE = v;
194 }
195 
java_lang_Thread_State_GET_BLOCKED()196 JAVA_OBJECT java_lang_Thread_State_GET_BLOCKED()
197 {
198     XMLVM_CLASS_INIT(java_lang_Thread_State)
199     return _STATIC_java_lang_Thread_State_BLOCKED;
200 }
201 
java_lang_Thread_State_PUT_BLOCKED(JAVA_OBJECT v)202 void java_lang_Thread_State_PUT_BLOCKED(JAVA_OBJECT v)
203 {
204     XMLVM_CLASS_INIT(java_lang_Thread_State)
205 _STATIC_java_lang_Thread_State_BLOCKED = v;
206 }
207 
java_lang_Thread_State_GET_WAITING()208 JAVA_OBJECT java_lang_Thread_State_GET_WAITING()
209 {
210     XMLVM_CLASS_INIT(java_lang_Thread_State)
211     return _STATIC_java_lang_Thread_State_WAITING;
212 }
213 
java_lang_Thread_State_PUT_WAITING(JAVA_OBJECT v)214 void java_lang_Thread_State_PUT_WAITING(JAVA_OBJECT v)
215 {
216     XMLVM_CLASS_INIT(java_lang_Thread_State)
217 _STATIC_java_lang_Thread_State_WAITING = v;
218 }
219 
java_lang_Thread_State_GET_TIMED_WAITING()220 JAVA_OBJECT java_lang_Thread_State_GET_TIMED_WAITING()
221 {
222     XMLVM_CLASS_INIT(java_lang_Thread_State)
223     return _STATIC_java_lang_Thread_State_TIMED_WAITING;
224 }
225 
java_lang_Thread_State_PUT_TIMED_WAITING(JAVA_OBJECT v)226 void java_lang_Thread_State_PUT_TIMED_WAITING(JAVA_OBJECT v)
227 {
228     XMLVM_CLASS_INIT(java_lang_Thread_State)
229 _STATIC_java_lang_Thread_State_TIMED_WAITING = v;
230 }
231 
java_lang_Thread_State_GET_TERMINATED()232 JAVA_OBJECT java_lang_Thread_State_GET_TERMINATED()
233 {
234     XMLVM_CLASS_INIT(java_lang_Thread_State)
235     return _STATIC_java_lang_Thread_State_TERMINATED;
236 }
237 
java_lang_Thread_State_PUT_TERMINATED(JAVA_OBJECT v)238 void java_lang_Thread_State_PUT_TERMINATED(JAVA_OBJECT v)
239 {
240     XMLVM_CLASS_INIT(java_lang_Thread_State)
241 _STATIC_java_lang_Thread_State_TERMINATED = v;
242 }
243 
java_lang_Thread_State_GET__VALUES()244 JAVA_OBJECT java_lang_Thread_State_GET__VALUES()
245 {
246     XMLVM_CLASS_INIT(java_lang_Thread_State)
247     return _STATIC_java_lang_Thread_State__VALUES;
248 }
249 
java_lang_Thread_State_PUT__VALUES(JAVA_OBJECT v)250 void java_lang_Thread_State_PUT__VALUES(JAVA_OBJECT v)
251 {
252     XMLVM_CLASS_INIT(java_lang_Thread_State)
253 _STATIC_java_lang_Thread_State__VALUES = v;
254 }
255 
java_lang_Thread_State_values__()256 JAVA_OBJECT java_lang_Thread_State_values__()
257 {
258     XMLVM_CLASS_INIT(java_lang_Thread_State)
259     //XMLVM_BEGIN_WRAPPER[java_lang_Thread_State_values__]
260     XMLVM_ENTER_METHOD("java.lang.Thread$State", "values", "?")
261     XMLVMElem _r0;
262     XMLVM_SOURCE_POSITION("Thread.java", 74)
263     _r0.o = java_lang_Thread_State_GET__VALUES();
264     //java_lang_Thread_State_1ARRAY_clone__[0]
265     XMLVM_CHECK_NPE(0)
266     _r0.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) ((org_xmlvm_runtime_XMLVMArray*) _r0.o)->tib->vtable[0])(_r0.o);
267     _r0.o = _r0.o;
268     XMLVM_EXIT_METHOD()
269     return _r0.o;
270     //XMLVM_END_WRAPPER
271 }
272 
java_lang_Thread_State_valueOf___java_lang_String(JAVA_OBJECT n1)273 JAVA_OBJECT java_lang_Thread_State_valueOf___java_lang_String(JAVA_OBJECT n1)
274 {
275     XMLVM_CLASS_INIT(java_lang_Thread_State)
276     //XMLVM_BEGIN_WRAPPER[java_lang_Thread_State_valueOf___java_lang_String]
277     XMLVM_ENTER_METHOD("java.lang.Thread$State", "valueOf", "?")
278     XMLVMElem _r0;
279     XMLVMElem _r1;
280     _r1.o = n1;
281     XMLVM_SOURCE_POSITION("Thread.java", 74)
282     XMLVM_CLASS_INIT(java_lang_Thread_State)
283     _r0.o = __CLASS_java_lang_Thread_State;
284     _r1.o = java_lang_Enum_valueOf___java_lang_Class_java_lang_String(_r0.o, _r1.o);
285     _r1.o = _r1.o;
286     XMLVM_EXIT_METHOD()
287     return _r1.o;
288     //XMLVM_END_WRAPPER
289 }
290 
java_lang_Thread_State___INIT____java_lang_String_int(JAVA_OBJECT me,JAVA_OBJECT n1,JAVA_INT n2)291 void java_lang_Thread_State___INIT____java_lang_String_int(JAVA_OBJECT me, JAVA_OBJECT n1, JAVA_INT n2)
292 {
293     //XMLVM_BEGIN_WRAPPER[java_lang_Thread_State___INIT____java_lang_String_int]
294     XMLVM_ENTER_METHOD("java.lang.Thread$State", "<init>", "?")
295     XMLVMElem _r0;
296     XMLVMElem _r1;
297     XMLVMElem _r2;
298     _r0.o = me;
299     _r1.o = n1;
300     _r2.i = n2;
301     XMLVM_SOURCE_POSITION("Thread.java", 74)
302     XMLVM_CHECK_NPE(0)
303     java_lang_Enum___INIT____java_lang_String_int(_r0.o, _r1.o, _r2.i);
304     XMLVM_EXIT_METHOD()
305     return;
306     //XMLVM_END_WRAPPER
307 }
308 
java_lang_Thread_State___CLINIT_()309 void java_lang_Thread_State___CLINIT_()
310 {
311     //XMLVM_BEGIN_WRAPPER[java_lang_Thread_State___CLINIT___]
312     XMLVM_ENTER_METHOD("java.lang.Thread$State", "<clinit>", "?")
313     XMLVMElem _r0;
314     XMLVMElem _r1;
315     XMLVMElem _r2;
316     XMLVMElem _r3;
317     XMLVMElem _r4;
318     XMLVMElem _r5;
319     XMLVMElem _r6;
320     XMLVMElem _r7;
321     _r7.i = 4;
322     _r6.i = 3;
323     _r5.i = 2;
324     _r4.i = 1;
325     _r3.i = 0;
326     XMLVM_SOURCE_POSITION("Thread.java", 78)
327     _r0.o = __NEW_java_lang_Thread_State();
328     // "NEW"
329     _r1.o = xmlvm_create_java_string_from_pool(814);
330     XMLVM_CHECK_NPE(0)
331     java_lang_Thread_State___INIT____java_lang_String_int(_r0.o, _r1.o, _r3.i);
332     java_lang_Thread_State_PUT_NEW( _r0.o);
333     XMLVM_SOURCE_POSITION("Thread.java", 82)
334     _r0.o = __NEW_java_lang_Thread_State();
335     // "RUNNABLE"
336     _r1.o = xmlvm_create_java_string_from_pool(815);
337     XMLVM_CHECK_NPE(0)
338     java_lang_Thread_State___INIT____java_lang_String_int(_r0.o, _r1.o, _r4.i);
339     java_lang_Thread_State_PUT_RUNNABLE( _r0.o);
340     XMLVM_SOURCE_POSITION("Thread.java", 86)
341     _r0.o = __NEW_java_lang_Thread_State();
342     // "BLOCKED"
343     _r1.o = xmlvm_create_java_string_from_pool(816);
344     XMLVM_CHECK_NPE(0)
345     java_lang_Thread_State___INIT____java_lang_String_int(_r0.o, _r1.o, _r5.i);
346     java_lang_Thread_State_PUT_BLOCKED( _r0.o);
347     XMLVM_SOURCE_POSITION("Thread.java", 90)
348     _r0.o = __NEW_java_lang_Thread_State();
349     // "WAITING"
350     _r1.o = xmlvm_create_java_string_from_pool(817);
351     XMLVM_CHECK_NPE(0)
352     java_lang_Thread_State___INIT____java_lang_String_int(_r0.o, _r1.o, _r6.i);
353     java_lang_Thread_State_PUT_WAITING( _r0.o);
354     XMLVM_SOURCE_POSITION("Thread.java", 94)
355     _r0.o = __NEW_java_lang_Thread_State();
356     // "TIMED_WAITING"
357     _r1.o = xmlvm_create_java_string_from_pool(818);
358     XMLVM_CHECK_NPE(0)
359     java_lang_Thread_State___INIT____java_lang_String_int(_r0.o, _r1.o, _r7.i);
360     java_lang_Thread_State_PUT_TIMED_WAITING( _r0.o);
361     XMLVM_SOURCE_POSITION("Thread.java", 98)
362     _r0.o = __NEW_java_lang_Thread_State();
363     // "TERMINATED"
364     _r1.o = xmlvm_create_java_string_from_pool(819);
365     _r2.i = 5;
366     XMLVM_CHECK_NPE(0)
367     java_lang_Thread_State___INIT____java_lang_String_int(_r0.o, _r1.o, _r2.i);
368     java_lang_Thread_State_PUT_TERMINATED( _r0.o);
369     XMLVM_SOURCE_POSITION("Thread.java", 74)
370     _r0.i = 6;
371     XMLVM_CLASS_INIT(java_lang_Thread_State)
372     _r0.o = XMLVMArray_createSingleDimension(__CLASS_java_lang_Thread_State, _r0.i);
373     _r1.o = java_lang_Thread_State_GET_NEW();
374     XMLVM_CHECK_NPE(0)
375     XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r3.i);
376     ((JAVA_ARRAY_OBJECT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r3.i] = _r1.o;
377     _r1.o = java_lang_Thread_State_GET_RUNNABLE();
378     XMLVM_CHECK_NPE(0)
379     XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r4.i);
380     ((JAVA_ARRAY_OBJECT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r4.i] = _r1.o;
381     _r1.o = java_lang_Thread_State_GET_BLOCKED();
382     XMLVM_CHECK_NPE(0)
383     XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r5.i);
384     ((JAVA_ARRAY_OBJECT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r5.i] = _r1.o;
385     _r1.o = java_lang_Thread_State_GET_WAITING();
386     XMLVM_CHECK_NPE(0)
387     XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r6.i);
388     ((JAVA_ARRAY_OBJECT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r6.i] = _r1.o;
389     _r1.o = java_lang_Thread_State_GET_TIMED_WAITING();
390     XMLVM_CHECK_NPE(0)
391     XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r7.i);
392     ((JAVA_ARRAY_OBJECT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r7.i] = _r1.o;
393     _r1.i = 5;
394     _r2.o = java_lang_Thread_State_GET_TERMINATED();
395     XMLVM_CHECK_NPE(0)
396     XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
397     ((JAVA_ARRAY_OBJECT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r2.o;
398     java_lang_Thread_State_PUT__VALUES( _r0.o);
399     XMLVM_EXIT_METHOD()
400     return;
401     //XMLVM_END_WRAPPER
402 }
403 
404