private static class FinalizableSubclassTest.ClassTemplateLoader extends ClassLoader
Modifier and Type | Field and Description |
---|---|
private HashMap<String,Class<?>> |
cache |
private static int |
loaderInstance |
private String |
replaceTo |
Constructor and Description |
---|
ClassTemplateLoader() |
Modifier and Type | Method and Description |
---|---|
private static void |
dumpStringsInByteArray(byte[] b) |
protected Class<?> |
findClass(String name) |
private static int |
indexOfAAAA(byte[] b,
int index) |
private static void |
replaceAAAA(byte[] b,
int index,
String replacer) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
private static int loaderInstance
public ClassTemplateLoader()
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class ClassLoader
ClassNotFoundException
private static int indexOfAAAA(byte[] b, int index)
private static void replaceAAAA(byte[] b, int index, String replacer)
private static void dumpStringsInByteArray(byte[] b)