You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ee08667e81
ExecutableArchiveLauncher creates a ClassLoader that is used by the Launcher to load an application’s classes. During the creation of this ClassLoader URLs from another ClassLoader are copied over. This was resulting in Java agents that are added to the system class loader via the -javaagent launch option being available on both the system class loader and the created class loader. Java agents are intended to always be loaded by the system class loader. Making them available on another class loader breaks this model. This commit updates ExecutableArchiveLauncher so that it skips the URLs of any Java agents (found by examining the JVM’s input arguments) when copying URLs over to the new classloader, thereby ensuring that Java agents are only ever loaded by the system class loader. Fixes #863 |
11 years ago | |
---|---|---|
.. | ||
spring-boot-dependency-tools | 11 years ago | |
spring-boot-gradle-plugin | 11 years ago | |
spring-boot-loader | 11 years ago | |
spring-boot-loader-tools | 11 years ago | |
spring-boot-maven-plugin | 11 years ago | |
pom.xml | 11 years ago |