title: How spring boot change the default classloader use setContextClassLoader?
body: <p>I searched the Internet, and everybody tell if you use custom classloader, you should explicitly call <code>loadClass</code> to load a class. </p>
  
  <p>But I found in spring boot, you can just new a class and the class will load by <code>LaunchedURLClassLoader</code>. I check the code in spring-boot-loader found it just use <code>Thread.currentThread().setContextClassLoader(classLoader)</code> in <code>Launcher</code>, and I tried this but it doesn't work in my code, why?</p>