Tian, System classes are all loaded with bootstrap classloader. It is written in C++ and is located in working_vm/vm/vmcore/src/class_support/classloader.cpp
2009/5/17, tian galaxy <[email protected]>: > Hi all > I have a question about the classloading in the drlvm. > > I know that there are kernel library inside the drlvm such as > java.lang.classloader, which enclose the the systemclassloader. And this > class is loaded and used in the process of creating VM . > While the systemclassloader is a subtype of urlclassloader which is in the > "luni" module.So does the JNI_CreateJavaVM > also load the urlclassloader in the boot procedure of vm ?(I failed to > search related code in the source code of drlvm). > If so , when ?Before or after the jni available ? > Since I am trying to implement the osgi on harmony and the osgi works with > bundles (modules) , I think I need to know the procedure of booting and > loading of class from different modules at the start up time. > Any clue about this ?Thanks > > plus,do we have the source code of java.exe ?Where? > > -- > Regards > Michael Tian >
