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.
spring-boot/spring-boot-tools
Andy Wilkinson ee08667e81 Exclude Java agent jars from class path of launching class loader
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 Add spring-boot-versions project 11 years ago
spring-boot-gradle-plugin Require single main class 11 years ago
spring-boot-loader Exclude Java agent jars from class path of launching class loader 11 years ago
spring-boot-loader-tools Require single main class 11 years ago
spring-boot-maven-plugin Polish 11 years ago
pom.xml Move master to 1.1.0.BUILD-SNAPSHOT 11 years ago