mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
249 lines
7.2 KiB
C
249 lines
7.2 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_VMClassLoader
|
|
#include "jcgobchk.h"
|
|
#endif
|
|
|
|
JCGO_NOSEP_FRWINL void CFASTCALL
|
|
java_lang_VMClassLoader__resolveClass__Lc( java_lang_Class aclass
|
|
)
|
|
{
|
|
JCGO_CLINIT_TRIG(java_lang_VMClassLoader__class);
|
|
{
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC java_lang_Class CFASTCALL
|
|
java_lang_VMClassLoader__loadClass__LsZ( java_lang_String name, jboolean
|
|
resolve )
|
|
{
|
|
JCGO_CLINIT_TRIG(java_lang_VMClassLoader__class);
|
|
{
|
|
java_lang_Class aclass;
|
|
if ((JCGO_CALL_FINALF(name) java_lang_String__length__(
|
|
name)) == 0)
|
|
{
|
|
JCGO_THROW_EXC((java_lang_ClassNotFoundException__new__Ls(
|
|
name)));
|
|
}
|
|
aclass= (java_lang_VMClassLoader__loadClass0__LsI(
|
|
name, 0));
|
|
if (resolve && aclass != jnull)
|
|
{
|
|
(java_lang_VMClassLoader__resolveClass__Lc(
|
|
aclass));
|
|
}
|
|
return aclass;
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC java_lang_Class CFASTCALL
|
|
java_lang_VMClassLoader__getPrimitiveClass__C( jchar ch )
|
|
{
|
|
JCGO_CLINIT_TRIG(java_lang_VMClassLoader__class);
|
|
{
|
|
jint type;
|
|
type= (java_lang_String__indexOf__II(
|
|
JCGO_STRREF_OF(jcgo_string2_VMClssLd), ch, 0));
|
|
return type >= 0? (java_lang_VMClassLoader__getPrimitiveClass0__I(
|
|
type)) : jnull;
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_FRWINL jboolean CFASTCALL
|
|
java_lang_VMClassLoader__defaultAssertionStatus__( void )
|
|
{
|
|
JCGO_CLINIT_TRIG(java_lang_VMClassLoader__class);
|
|
{
|
|
return (jboolean)jtrue;
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_FRWINL java_lang_ClassLoader CFASTCALL
|
|
java_lang_VMClassLoader__getSystemClassLoader__( void )
|
|
{
|
|
JCGO_CLINIT_TRIG(java_lang_VMClassLoader__class);
|
|
{
|
|
return (java_lang_ClassLoader)((java_lang_String__equals__Lo(
|
|
JCGO_STRREF_OF(jcgo_string3_VMClssLd), (java_lang_Object)JCGO_STRREF_OF(jcgo_string1_Handler)))?
|
|
jnull : java_lang_VMClassLoader_AppClassLoader__new__());
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_FRWINL java_lang_Class CFASTCALL
|
|
java_lang_VMClassLoader__findLoadedClass__L09rb1Ls( java_lang_ClassLoader
|
|
cl, java_lang_String name )
|
|
{
|
|
JCGO_CLINIT_TRIG(java_lang_VMClassLoader__class);
|
|
{
|
|
java_lang_Class aclass;
|
|
aclass= (java_lang_VMClassLoader__loadClass0__LsI(
|
|
name, 0));
|
|
if (aclass != jnull && (java_lang_VMClassLoader__getLoaderOfDefinedClass__Lc(
|
|
aclass)) == cl)
|
|
{
|
|
return aclass;
|
|
}
|
|
return (java_lang_Class)jnull;
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC java_lang_ClassLoader CFASTCALL
|
|
java_lang_VMClassLoader__getLoaderOfDefinedClass__Lc( java_lang_Class
|
|
klass )
|
|
{
|
|
JCGO_CLINIT_TRIG(java_lang_VMClassLoader__class);
|
|
{
|
|
{
|
|
JCGO_SYNC_BLOCKSAFENZ(java_lang_VMClassLoader__defnClassToLoader)
|
|
{
|
|
{
|
|
java_lang_ClassLoader jcgo_retval= (java_lang_ClassLoader)JCGO_CAST_OBJECT0(OBJT_java_lang_VMClassLoader_AppClassLoader,
|
|
MAXT_java_lang_VMClassLoader_AppClassLoader, (java_lang_VMClass_IdentityHashMap__get__Lo(
|
|
java_lang_VMClassLoader__defnClassToLoader, (java_lang_Object)klass)));
|
|
#ifndef JCGO_SEHTRY
|
|
JCGO_SYNC_JUMPLEAVE(0);
|
|
#endif
|
|
return jcgo_retval;
|
|
}
|
|
}
|
|
JCGO_SYNC_ENDUNREACH
|
|
}
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC jint CFASTCALL
|
|
java_lang_VMClassLoader__compareClassNames0X__LsLc( java_lang_String
|
|
name, java_lang_Class aclass )
|
|
{
|
|
JCGO_CLINIT_TRIG(java_lang_VMClassLoader__class);
|
|
{
|
|
return (JCGO_CALL_FINALF(name) java_lang_String__compareTo__Ls(
|
|
name, (JCGO_CALL_FINALF(aclass) java_lang_Class__getName__(
|
|
aclass))));
|
|
}
|
|
}
|
|
|
|
JCGO_NOSEP_STATIC void CFASTCALL
|
|
java_lang_VMClassLoader__class__0( void )
|
|
{
|
|
JCGO_CLINIT_BEGIN(java_lang_VMClassLoader__class);
|
|
java_lang_VMClassLoader__defnClassToLoader= java_lang_VMClass_IdentityHashMap__new__();
|
|
{
|
|
(java_lang_VMClassLoader__compareClassNames0X__LsLc(
|
|
JCGO_STRREF_OF(jcgo_string3_String6D), JCGO_CORECLASS_FOR(OBJT_jboolean)));
|
|
}
|
|
JCGO_CLINIT_DONE(java_lang_VMClassLoader__class);
|
|
}
|
|
|
|
JCGO_NOSEP_DATA CONST struct jcgo_methods_s java_lang_VMClassLoader_methods=
|
|
{
|
|
JCGO_CLASSREF_OF(java_lang_VMClassLoader__class),
|
|
JCGO_GCJDESCR_ZEROINIT
|
|
OBJT_java_lang_VMClassLoader,
|
|
0,
|
|
NULL,
|
|
JCGO_CLINIT_INIT(java_lang_VMClassLoader__class__0)
|
|
0
|
|
};
|
|
|
|
JCGO_NOSEP_DATA struct java_lang_VMClassLoader_class_s java_lang_VMClassLoader__class
|
|
ATTRIBNONGC=
|
|
{
|
|
{
|
|
&java_lang_Class_methods,
|
|
JCGO_MON_INIT
|
|
JCGO_OBJREF_OF(*(java_lang_Object)&java_lang_VMClassLoader_methods),
|
|
JCGO_STRREF_OF(jcgo_string1_VMClssLd),
|
|
JCGO_CLASSREF_OF(java_lang_Object__class),
|
|
((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
|
|
0x1d0
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_GCDATA java_lang_VMClass_IdentityHashMap java_lang_VMClassLoader__defnClassToLoader
|
|
ATTRIBGCBSS= jnull;
|
|
|
|
JCGO_NOSEP_DATA CONST jcgo_arrtype858_Mdclnt jcgo_array4_VMClssLd=
|
|
{
|
|
(jvtable)&jbyteArr_methods,
|
|
JCGO_MON_INIT
|
|
38,
|
|
{
|
|
(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)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)76/*'L'*/,
|
|
(jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)100/*'d'*/,
|
|
(jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)36/*'$'*/,
|
|
(jbyte)(jchar)65/*'A'*/, (jbyte)(jchar)112/*'p'*/, (jbyte)(jchar)112/*'p'*/,
|
|
(jbyte)(jchar)67/*'C'*/, (jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)97/*'a'*/,
|
|
(jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)115/*'s'*/, (jbyte)(jchar)76/*'L'*/,
|
|
(jbyte)(jchar)111/*'o'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)100/*'d'*/,
|
|
(jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA CONST jcgo_arrtype73_GmCnnctn jcgo_array5_VMClssLd=
|
|
{
|
|
(jvtable)&jbyteArr_methods,
|
|
JCGO_MON_INIT
|
|
31,
|
|
{
|
|
(jbyte)(jchar)103/*'g'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)117/*'u'*/,
|
|
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/,
|
|
(jbyte)(jchar)118/*'v'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/,
|
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)116/*'t'*/,
|
|
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)111/*'o'*/,
|
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/,
|
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)46/*'.'*/,
|
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)120/*'x'*/,
|
|
(jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)112/*'p'*/,
|
|
(jbyte)(jchar)108/*'l'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)105/*'i'*/,
|
|
(jbyte)(jchar)110/*'n'*/
|
|
}
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_VMClssLd
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array4_VMClssLd),
|
|
0, 23, (jint)0xfb2353c0L
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string2_VMClssLd
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array530_VMSstmPr),
|
|
0, 9, (jint)0x6e8af58dL
|
|
};
|
|
|
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string3_VMClssLd
|
|
JCGO_THRD_ATTRNONGC=
|
|
{
|
|
&java_lang_String_methods,
|
|
JCGO_MON_INIT
|
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array5_VMClssLd),
|
|
0, 31, (jint)0x60eeb61bL
|
|
};
|
|
|
|
#ifdef CHKALL_java_lang_VMClassLoader
|
|
#include "jcgochke.h"
|
|
#endif
|
|
|
|
#endif
|