ericluoliu opened a new pull request, #181:
URL: https://github.com/apache/apisix-java-plugin-runner/pull/181

   ### Improvement
   Remove unnecessary lines. Dynamic class loader still supports hot reloading 
(because Spring beans are reloaded). 
   
   Setting the Spring Boot ClassLoader using *.setContextClassLoader()* does 
not actually change how plugins and BOOT-INF/ files are loaded. The actual 
application classes are still loaded by *LaunchedUrlClassLoader* 
https://docs.spring.io/spring-boot/docs/1.2.x-SNAPSHOT/api/org/springframework/boot/loader/LaunchedURLClassLoader.html.
 The Spring Boot *JarLauncher* (that launches the SpringBoot application) uses 
*LaunchedUrlClassLoader*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to