331332333334335336337338
// this is deliberately not a doPrivileged operation. String cn = getClassName(className); try { return classLoader.loadClass(cn); } catch (ClassNotFoundException e) { throw new PicoClassNotFoundException(cn, e); } }
226227228229230231232233
private static Class<?> loadClass(ClassLoader classLoader, String typeName) { try { return classLoader.loadClass(typeName); } catch (ClassNotFoundException e) { throw new PicoClassNotFoundException(typeName, e); } }