How to put custom ClassLoader to use?
Not sure I understand the question, you have a 3rd party lib and you want it to use your classloader to load classes. If you’re lucky the third party lib uses the threads context classloader which you can set using Thread.currentThread().setContextClassLoader(myClassLoader), in the same thread you can access this classloader with Thread.currentThread().getContextClassLoader()… Another point, but … Read more