Class ChildClassDefiner.ChildLoader

  • Enclosing class:
    ChildClassDefiner

    private static final class ChildClassDefiner.ChildLoader
    extends java.lang.ClassLoader
    Custom class loader that grants access to defineClass
    • Constructor Summary

      Constructors 
      Constructor Description
      ChildLoader()  
      ChildLoader​(java.lang.ClassLoader parent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.Class<?> defineInChild​(byte[] bytecode)  
      • Methods inherited from class java.lang.ClassLoader

        clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChildLoader

        ChildLoader​(java.lang.ClassLoader parent)
      • ChildLoader

        ChildLoader()
    • Method Detail

      • defineInChild

        java.lang.Class<?> defineInChild​(byte[] bytecode)