CompilationResult

class CompilationResult(val classLoader: URLClassLoader, outputDir: Path, sourceTmpDir: File) : AutoCloseable

Result of a successful compilation.

Implements AutoCloseable to clean up the temporary output directory. Prefer .use { } blocks for automatic cleanup.

Constructors

Link copied to clipboard
constructor(classLoader: URLClassLoader, outputDir: Path, sourceTmpDir: File)

Properties

Link copied to clipboard

A URLClassLoader that can load the compiled classes.

Functions

Link copied to clipboard
open override fun close()