Class Transformer.VerifyLoader

java.lang.Object
java.lang.ClassLoader
org.jboss.byteman.agent.Transformer.VerifyLoader
Enclosing class:
Transformer

private class Transformer.VerifyLoader extends ClassLoader
classloader used by transformer when verification is switched on to detect errors in transformed bytecode
  • Constructor Details

    • VerifyLoader

      public VerifyLoader(ClassLoader parent)
  • Method Details

    • verify

      public byte[] verify(String classname, ProtectionDomain protectionDomain, byte[] bytes)
      use the supplied bytes to define a class and try creating an instance via the empty constructor printing details of any errors which occur
      Parameters:
      classname -
      protectionDomain -
      bytes -
      Returns:
      the bytes if all goes well otherwise null