Class ExternalJarClassLoader

All Implemented Interfaces:
Closeable, AutoCloseable

public final class ExternalJarClassLoader extends URLClassLoader
Provides a class loader which isolates external exporters from other exporters, while exposing our own code to ensure versions match at runtime.

NOTE: if you forget to close this class loader, the underlying file is cleaned up by the garbage collector (via Cleaner once this class loader has been garbage collected.

If possible, it's still a good idea to close explicitly to free resources sooner and to avoid depending on undocumented behavior of a standard library class.