• Andy Wilkinson's avatar
    Consider jar's Class-Path attribute when getting changeable URLs · 5e0ba6ea
    Andy Wilkinson authored
    To overcome command length limits on Windows, IntelliJ IDEA may launch
    an application with a single jar on the classpath that contains that
    application's actual classpath in the Class-Path attribute of its
    manifest. This would prevent DevTools restarts from working as it
    only considered the single jar's URL when identifying changeable URLs
    and ignored the URLs added to the classpath via the jar's manifest.
    
    This commit updates ChangeableUrls when it is created from a
    URLClassLoader to consider the Class-Path manifest attribute of any
    jars in the class loader's URLs. This allows the full classpath to
    be considered when identifying URLs that are changeable and that
    need to be monitored for restart triggering.
    
    Closes gh-5127
    5e0ba6ea
Name
Last commit
Last update
.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-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml 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...