To be able to test the behavior of Cglib proxies, we need to customize the classpath for both the compilation and the loading of classes in DynamicClassLoader
.
The use case is as follows: AOT is processing candidates, which generates a cglib proxy in target/some-location
. The class is available and then referenced in AOT-generated code.
Currently the compilation is failing as the class in target/some-location
cannot be resolved. Once we fix that, we need to be able to load it in DynamicClassLoader
.