Here you can find the source of loadClass(String className, ClassLoader cl)
private static Class<?> loadClass(String className, ClassLoader cl) throws LinkageError
//package com.java2s; // This copy of Ice is licensed to you under the terms described in the public class Main { private static Class<?> loadClass(String className, ClassLoader cl) throws LinkageError { if (cl != null) { try { return cl.loadClass(className); } catch (ClassNotFoundException ex) { // Ignore }// ww w . ja v a 2 s . co m } return null; } }