mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
383 lines
12 KiB
C
383 lines
12 KiB
C
/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */
|
|
|
|
#ifdef JCGO_SEPARATED
|
|
#define JCGO_116
|
|
#include "jcgortl.h"
|
|
#include "Main.h"
|
|
#endif
|
|
|
|
#ifdef JCGO_116
|
|
|
|
#ifdef CHKALL_java_lang_reflect_VMConstructor
|
|
#include "jcgobchk.h"
|
|
#endif
|
|
|
|
JCGO_NOSEP_FRWINL jint CFASTCALL
|
|
java_lang_reflect_VMConstructor__getModifiersInternal__L1693g( java_lang_reflect_Constructor
|
|
constructor_8w9 )
|
|
{
|
|
{
|
|
return JCGO_FIELD_ACCESS(java_lang_reflect_Constructor, constructor_8w9,
|
|
modifiers);
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_FRWINL jObjectArr CFASTCALL
|
|
java_lang_reflect_VMConstructor__getParameterTypesInternal__L1693g(
|
|
java_lang_reflect_Constructor constructor_8w9 )
|
|
{
|
|
{
|
|
return JCGO_FIELD_ACCESS(java_lang_reflect_Constructor, constructor_8w9,
|
|
parameterTypes);
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_FRWINL jObjectArr CFASTCALL
|
|
java_lang_reflect_VMConstructor__getExceptionTypesInternal__L1693g(
|
|
java_lang_reflect_Constructor constructor_8w9 )
|
|
{
|
|
{
|
|
return JCGO_FIELD_ACCESS(java_lang_reflect_Constructor, constructor_8w9,
|
|
exceptionTypes);
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_FRWINL java_lang_Object CFASTCALL
|
|
java_lang_reflect_VMConstructor__allocateObject__L1693gLc( java_lang_reflect_Constructor
|
|
constructor_8w9, java_lang_Class objClass )
|
|
{
|
|
{
|
|
java_lang_Class declaringClass;
|
|
java_lang_Object JCGO_TRY_VOLATILE obj;
|
|
jint modifiers;
|
|
jObject jcgo_rcvrL1;
|
|
declaringClass= (JCGO_CALL_FINALF(constructor_8w9) java_lang_reflect_Constructor__getDeclaringClass__(
|
|
constructor_8w9));
|
|
if (!(java_lang_Class__isAssignableFrom__Lc(
|
|
declaringClass, objClass)))
|
|
{
|
|
JCGO_THROW_EXC((java_lang_InstantiationException__new__Ls(
|
|
java_lang_VMSystem__concat0X__LsLs(
|
|
JCGO_STRREF_OF(jcgo_string8_VMCnstrc), (JCGO_CALL_FINALF(objClass)
|
|
java_lang_Class__getName__(
|
|
objClass))))));
|
|
}
|
|
if ((JCGO_CALL_FINALF(objClass) java_lang_Class__isInterface__(
|
|
objClass)) || ((java_lang_Class__getModifiers__(
|
|
objClass)) & java_lang_reflect_Modifier__ABSTRACT) != 0 || objClass ==
|
|
JCGO_CLASSREF_OF(java_lang_Class__class))
|
|
{
|
|
JCGO_THROW_EXC((java_lang_InstantiationException__new__Ls(
|
|
java_lang_VMSystem__concat0X__LsLs(
|
|
JCGO_STRREF_OF(jcgo_string2_VMThrwbl), (java_lang_Class__getName__(
|
|
objClass))))));
|
|
}
|
|
modifiers= (java_lang_reflect_VMConstructor__getModifiersInternal__L1693g(
|
|
constructor_8w9));
|
|
if ((modifiers & java_lang_reflect_Modifier__PUBLIC) == 0 && !(java_lang_reflect_AccessibleObject__isAccessible__(
|
|
(java_lang_reflect_AccessibleObject)constructor_8w9)) && (declaringClass ==
|
|
objClass || (modifiers & java_lang_reflect_Modifier__PRIVATE) !=
|
|
0 || ((modifiers & java_lang_reflect_Modifier__PROTECTED) == 0 &&
|
|
!(jcgo_rcvrL1= (jObject)(java_lang_reflect_VMConstructor__packageNameOf__Lc(
|
|
declaringClass)), java_lang_String__equals__Lo(
|
|
(java_lang_String)jcgo_rcvrL1, (java_lang_Object)(java_lang_reflect_VMConstructor__packageNameOf__Lc(
|
|
objClass)))))))
|
|
{
|
|
JCGO_THROW_EXC((java_lang_InstantiationException__new__Ls(
|
|
java_lang_VMSystem__concat0X__LsLs(
|
|
JCGO_STRREF_OF(jcgo_string9_VMCnstrc), (java_lang_Class__getName__(
|
|
declaringClass))))));
|
|
}
|
|
if (JCGO_ARRAY_LENGTH((java_lang_reflect_VMConstructor__getParameterTypesInternal__L1693g(
|
|
constructor_8w9))) != 0)
|
|
{
|
|
JCGO_THROW_EXC((java_lang_InstantiationException__new__Ls(
|
|
JCGO_STRREF_OF(jcgo_string10_VMCnstrc))));
|
|
}
|
|
(java_lang_VMAccessorJavaLang__initializeVMClass__Lc(
|
|
objClass));
|
|
{
|
|
JCGO_TRY_BLOCK
|
|
{
|
|
obj= (java_lang_reflect_VMConstructor__constructNative0__LcLcBAIAJAFADALoAII(
|
|
objClass, declaringClass, java_lang_reflect_VMConstructor__EMPTY_BYTES,
|
|
java_lang_reflect_VMConstructor__EMPTY_INTS, java_lang_reflect_VMConstructor__EMPTY_LONGS,
|
|
java_lang_reflect_VMConstructor__EMPTY_FLOATS, java_lang_reflect_VMConstructor__EMPTY_DOUBLES,
|
|
java_lang_reflect_VMConstructor__EMPTY_OBJECTS, 0, JCGO_FIELD_NZACCESS(constructor_8w9,
|
|
slot)));
|
|
}
|
|
JCGO_TRY_LEAVE
|
|
JCGO_TRY_CATCHES(1)
|
|
JCGO_TRY_CATCH(OBJT_java_lang_Error, MAXT_java_lang_Error)
|
|
{
|
|
java_lang_Error e;
|
|
e= (java_lang_Error)JCGO_TRY_THROWABLE(0);
|
|
JCGO_THROW_EXC(e);
|
|
}
|
|
JCGO_TRY_CATCH(OBJT_java_lang_Throwable, MAXT_java_lang_Throwable)
|
|
{
|
|
java_lang_Throwable e;
|
|
e= (java_lang_Throwable)JCGO_TRY_THROWABLE(0);
|
|
(java_lang_VMAccessorJavaLang__throwExceptionVMClass__Lt(
|
|
e));
|
|
JCGO_THROW_EXC((java_lang_InternalError__new__Ls(
|
|
JCGO_STRREF_OF(jcgo_string11_VMCnstrc))));
|
|
}
|
|
JCGO_TRY_RETHROW(1)
|
|
}
|
|
if (obj == jnull)
|
|
{
|
|
JCGO_THROW_EXC(java_lang_OutOfMemoryError__new__());
|
|
}
|
|
return obj;
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC java_lang_String CFASTCALL
|
|
java_lang_reflect_VMConstructor__packageNameOf__Lc( java_lang_Class
|
|
aclass )
|
|
{
|
|
{
|
|
java_lang_String name;
|
|
jint lastInd;
|
|
name= (JCGO_CALL_FINALF(aclass) java_lang_Class__getName__(
|
|
aclass));
|
|
lastInd= (java_lang_String__lastIndexOf__I(
|
|
name, (jchar)46/*'.'*/));
|
|
return lastInd > 0? (java_lang_String__substring__II(
|
|
name, 0, lastInd)) : JCGO_STRREF_OF(jcgo_string3_String6D);
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_DATA CONST struct jcgo_methods_s java_lang_reflect_VMConstructor_methods=
|
|
{
|
|
JCGO_CLASSREF_OF(java_lang_reflect_VMConstructor__class),
|
|
JCGO_GCJDESCR_ZEROINIT
|
|
OBJT_java_lang_reflect_VMConstructor,
|
|
0,
|
|
NULL,
|
|
JCGO_CLINIT_INIT(0)
|
|
0
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_reflect_VMConstructor_class_s
|
|
java_lang_reflect_VMConstructor__class JCGO_THRD_ATTRNONGC=
|
|
{
|
|
{
|
|
&java_lang_Class_methods,
|
|
JCGO_MON_INIT
|
|
JCGO_OBJREF_OF(*(java_lang_Object)&java_lang_reflect_VMConstructor_methods),
|
|
JCGO_STRREF_OF(jcgo_string1_VMCnstrc),
|
|
JCGO_CLASSREF_OF(java_lang_Object__class),
|
|
((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
|
|
0x110
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST jcgo_arrtype2_VMChnnl jcgo_array2_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
(jvtable)&jbyteArr_methods,
|
|
JCGO_MON_INIT
|
|
0,
|
|
{
|
|
(jbyte)0
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST jcgo_arrtype4_VMChnnl jcgo_array3_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
(jvtable)&jintArr_methods,
|
|
JCGO_MON_INIT
|
|
0,
|
|
{
|
|
(jint)0
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST jcgo_arrtype4_VMCnstrc jcgo_array4_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
(jvtable)&jlongArr_methods,
|
|
JCGO_MON_INIT
|
|
0,
|
|
{
|
|
(jlong)0
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST jcgo_arrtype5_VMCnstrc jcgo_array5_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
(jvtable)&jfloatArr_methods,
|
|
JCGO_MON_INIT
|
|
0,
|
|
{
|
|
(jfloat)0
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST jcgo_arrtype6_VMCnstrc jcgo_array6_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
(jvtable)&jdoubleArr_methods,
|
|
JCGO_MON_INIT
|
|
0,
|
|
{
|
|
(jdouble)0
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST jcgo_arrtype2_GameMdl jcgo_array7_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
(jvtable)&jObjectArr_methods,
|
|
JCGO_MON_INIT
|
|
0,
|
|
JCGO_CLASSREF_OF(java_lang_Object__class),
|
|
{
|
|
jnull
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA CONST jcgo_arrtype73_GmCnnctn jcgo_array12_VMCnstrc=
|
|
{
|
|
(jvtable)&jbyteArr_methods,
|
|
JCGO_MON_INIT
|
|
31,
|
|
{
|
|
(jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)118/*'v'*/,
|
|
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)108/*'l'*/,
|
|
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)103/*'g'*/,
|
|
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)101/*'e'*/,
|
|
(jbyte)(jchar)102/*'f'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/,
|
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)46/*'.'*/,
|
|
(jbyte)(jchar)86/*'V'*/, (jbyte)(jchar)77/*'M'*/, (jbyte)(jchar)67/*'C'*/,
|
|
(jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)115/*'s'*/,
|
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)117/*'u'*/,
|
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)111/*'o'*/,
|
|
(jbyte)(jchar)114/*'r'*/
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA CONST jcgo_arrtype736_Mdclnt jcgo_array13_VMCnstrc=
|
|
{
|
|
(jvtable)&jbyteArr_methods,
|
|
JCGO_MON_INIT
|
|
61,
|
|
{
|
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/,
|
|
(jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)114/*'r'*/,
|
|
(jbyte)(jchar)117/*'u'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/,
|
|
(jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)32/*' '*/,
|
|
(jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)99/*'c'*/,
|
|
(jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)114/*'r'*/,
|
|
(jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)103/*'g'*/,
|
|
(jbyte)(jchar)32/*' '*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)108/*'l'*/,
|
|
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)115/*'s'*/,
|
|
(jbyte)(jchar)32/*' '*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)111/*'o'*/,
|
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)32/*' '*/, (jbyte)(jchar)97/*'a'*/,
|
|
(jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)105/*'i'*/,
|
|
(jbyte)(jchar)103/*'g'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)97/*'a'*/,
|
|
(jbyte)(jchar)98/*'b'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/,
|
|
(jbyte)(jchar)32/*' '*/, (jbyte)(jchar)102/*'f'*/, (jbyte)(jchar)114/*'r'*/,
|
|
(jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)109/*'m'*/, (jbyte)(jchar)32/*' '*/,
|
|
(jbyte)(jchar)103/*'g'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)118/*'v'*/,
|
|
(jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)32/*' '*/,
|
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)97/*'a'*/,
|
|
(jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)58/*':'*/,
|
|
(jbyte)(jchar)32/*' '*/
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA CONST jcgo_arrtype90_GmCnnctn jcgo_array14_VMCnstrc=
|
|
{
|
|
(jvtable)&jbyteArr_methods,
|
|
JCGO_MON_INIT
|
|
28,
|
|
{
|
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)110/*'n'*/,
|
|
(jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)114/*'r'*/,
|
|
(jbyte)(jchar)117/*'u'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)116/*'t'*/,
|
|
(jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)32/*' '*/,
|
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)116/*'t'*/,
|
|
(jbyte)(jchar)32/*' '*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)99/*'c'*/,
|
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)115/*'s'*/,
|
|
(jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)98/*'b'*/,
|
|
(jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)58/*':'*/,
|
|
(jbyte)(jchar)32/*' '*/
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA CONST jcgo_arrtype48_GameShll jcgo_array15_VMCnstrc=
|
|
{
|
|
(jvtable)&jbyteArr_methods,
|
|
JCGO_MON_INIT
|
|
33,
|
|
{
|
|
(jbyte)(jchar)86/*'V'*/, (jbyte)(jchar)77/*'M'*/, (jbyte)(jchar)67/*'C'*/,
|
|
(jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)115/*'s'*/,
|
|
(jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)116/*'t'*/,
|
|
(jbyte)(jchar)104/*'h'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)111/*'o'*/,
|
|
(jbyte)(jchar)119/*'w'*/, (jbyte)(jchar)69/*'E'*/, (jbyte)(jchar)120/*'x'*/,
|
|
(jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)112/*'p'*/,
|
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)111/*'o'*/,
|
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)40/*'('*/, (jbyte)(jchar)41/*')'*/,
|
|
(jbyte)(jchar)32/*' '*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)101/*'e'*/,
|
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)117/*'u'*/, (jbyte)(jchar)114/*'r'*/,
|
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)100/*'d'*/
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array12_VMCnstrc),
|
|
0, 31, (jint)0x5c54569eL
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string8_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array13_VMCnstrc),
|
|
0, 61, (jint)0xa53b9268L
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string9_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array14_VMCnstrc),
|
|
0, 28, (jint)0x25b8bcefL
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string10_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array519_VMSstmPr),
|
|
0, 37, (jint)0x69c5d955L
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string11_VMCnstrc
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array15_VMCnstrc),
|
|
0, 33, (jint)0xb41bd7b8L
|
|
};
|
|
|
|
#ifdef CHKALL_java_lang_reflect_VMConstructor
|
|
#include "jcgochke.h"
|
|
#endif
|
|
|
|
#endif
|