Difference between thread’s context class loader and normal classloader

What is the difference between a thread’s context class loader and a normal class loader?

That is, if Thread.currentThread().getContextClassLoader() and getClass().getClassLoader() return different class loader objects, which one will be used?

4 Answers
4

Leave a Comment