Attempts to load the specified class.
Attempts to load the specified class.
The full name of the class to load
If true, initializes the class
The class loader to use for loading the class, defaults to the system class loader
The class loaded by the class loader
ClassNotFoundException
If the class was not found using the
class loader or any of its parents
Exposed for testing!
Attempts to find potential paths for a jar in the JDK.
Attempts to find potential paths for a jar in the JDK.
The path to the jar relative to the JDK
The sequence of potential paths
Retrieves the class loader used by the JVM.
Retrieves the class loader used by the JVM.
The class loader used by default for the JVM system
Wraps ClassLoader.getSystemClassLoader(), used for testing.
Checks if it is possible to use the JDI using either the given class loader or by using a jar located in the JDK (if possible).
Checks if it is possible to use the JDI using either the given class loader or by using a jar located in the JDK (if possible).
The class loader to use to check for JDI (default is this class's class loader)
True if JDI is able to be loaded, otherwise false
Attempts to ensure that the JDI is loaded.
Attempts to ensure that the JDI is loaded. First, checks if the JDI is already available. If not, attempts to find a JDK path and load it.
The class loader to use to check for JDI (default is this class's class loader)
True if successful, otherwise false
Represents the loader for the JDI (Java Debugger Interface) library shipped with the Oracle JDK and Open JDK. Attempts to load the library from a classloader or searches for the library in common locations.