You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/09 06:43:13 UTC
[GitHub] [apisix-java-plugin-runner] ericluoliu opened a new pull request, #181: fix: remove unnecessary classloader instantiation in main method
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-java-plugin-runner] tzssangglass merged pull request #181: fix: remove unnecessary classloader instantiation in main method
Posted by GitBox <gi...@apache.org>.
tzssangglass merged PR #181:
URL: https://github.com/apache/apisix-java-plugin-runner/pull/181
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org