Here you can find the source of loadClassWithTCCL(String name)
public static Class<?> loadClassWithTCCL(String name) throws ClassNotFoundException
//package com.java2s; //License from project: Open Source License public class Main { public static Class<?> loadClassWithTCCL(String name) throws ClassNotFoundException { if ("byte[]".equals(name)) { return byte[].class; }/* w w w . j av a 2s.c om*/ return Thread.currentThread().getContextClassLoader().loadClass(name); } }