• Andy Wilkinson's avatar
    Prevent AspectJ from loading aspects too early · 080ff49c
    Andy Wilkinson authored
    Previously, AspectJ would find META-INF/aop.xml almost as soon as
    the jar was launched, and before LaunchedURLClassLoader had been
    created. This meant that AspectJ would attempt to load aspects listed
    in META-INF/aop.xml but that were package in BOOT-INF/classes and,
    therefore, could not be loaded.
    
    This commit updates the Repackager so that a META-INF/aop.xml file
    is moved into BOOT-INF/classes. This ensures that it isn't visible
    to the app class loader so it won't be loaded to early. It will
    now be loaded by LaunchedURLClassLoader which can also load the
    compiled aspects that aop.xml references.
    
    Closes gh-7587
    080ff49c
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-test-support Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...