System Class Loader
I trying to custom JVM to use my created ClassLoader. Thus, I add system property as below to start my testing program as below: -
java -Djava.system.class.loader=test.ClassLoader TestClassLoader
Here is Testing Class for reference: -
class TestClassLoader{
public TestClassLoader(){
super();
}
publicstaticvoid main(String[] args){
System.out.println("SystemClassLoader:"+ java.lang.ClassLoader.getSystemClassLoader());
}
}
I try this test case in JDK 1.2.2, 1.3, 1.4.1....all result like this..
SystemClassLoader:sun.misc.Launcher$AppClassLoader@cfbcb
I supposed that the system class loader should be changed to"test.ClassLoader". Anyone know what's wrong. please correct.

