Uses of Class
org.codehaus.commons.compiler.sandbox.SandboxViolation
Packages that use SandboxViolation
Package
Description
Restricts the APIs that compiled, untrusted code may use, by verifying the generated bytecode against an allowlist
before it is loaded (
SandboxPolicy), and limits the CPU time and the
memory that the code consumes (SandboxExecutor).-
Uses of SandboxViolation in org.codehaus.commons.compiler.sandbox
Methods in org.codehaus.commons.compiler.sandbox that return SandboxViolationModifier and TypeMethodDescriptionSandboxViolation.withLocation(String fileName, int lineNumber) Returns a copy of this violation with the given file name and line number.Methods in org.codehaus.commons.compiler.sandbox that return types with arguments of type SandboxViolationModifier and TypeMethodDescriptionSandboxViolationException.getViolations()BytecodeVerifier.verify(Map<String, byte[]> classes, ClassLoader hostClassLoader) Verifies a set of classes that were compiled together, e.g. all classes generated by one compilation.BytecodeVerifier.verify(Map<String, byte[]> classes, ClassLoader definingClassLoader, Map<String, byte[]> pendingClasses) Verifies classes that a class loader is about to define, typically a class loader that compiles classes on demand (like aJavaSourceClassLoader), and thus defines the generated classes one at a time.Method parameters in org.codehaus.commons.compiler.sandbox with type arguments of type SandboxViolationModifier and TypeMethodDescriptionstatic StringSandboxViolationException.message(List<SandboxViolation> violations) Constructor parameters in org.codehaus.commons.compiler.sandbox with type arguments of type SandboxViolation