Here you can find the source of loadClass(String className, boolean isInitialized)
public static Class<?> loadClass(String className, boolean isInitialized)
//package com.java2s; //License from project: Apache License public class Main { public static Class<?> loadClass(String className, boolean isInitialized) { Class<?> clazz;//from w w w . j a v a 2 s.c om try { clazz = Class.forName(className, isInitialized, getClassLoader()); } catch (ClassNotFoundException cnfe) { cnfe.printStackTrace(); throw new RuntimeException(cnfe); } return clazz; } public static ClassLoader getClassLoader() { return Thread.currentThread().getContextClassLoader(); } }