public class BogusClassLoader extends URLClassLoader
Constructor and Description |
---|
BogusClassLoader(URL[] urls) |
BogusClassLoader(URL[] urls,
ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
loadClass(String name) |
protected Class<?> |
loadClass(String name,
boolean resolve)
Throw NoClassDefFoundError if the requested class contains the string
"Bogus".
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
defineClass, defineClass
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public BogusClassLoader(URL[] urls)
public BogusClassLoader(URL[] urls, ClassLoader parent)
public Class<?> loadClass(String name) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
Copyright © 2005–2018 QOS.ch. All rights reserved.