Class GuardClassLoader

java.lang.Object
java.lang.ClassLoader
org.codehaus.commons.compiler.sandbox.GuardClassLoader

public final class GuardClassLoader extends ClassLoader
Makes Guard and the types of its signatures and exceptions (SandboxLimitExceededError, SandboxLimits), including their nested classes, visible to the code that JANINO instruments, even if the parent class loader cannot see them (e.g. because it is the platform class loader), and makes sure that the code uses the same Guard class as the SandboxExecutor. All other classes are loaded through the parent class loader.