• Phillip Webb's avatar
    Prevent Tomcat URL "reflective access" warnings · c4e41305
    Phillip Webb authored
    Update the jar `Handler` class to support a non-reflective fallback
    mechanism when possible. The updated code attempts to capture a regular
    jar URL before our handler is installed. It can then use that URL as
    context when creating the a fallback URL. The JDK jar `Handler` will
    be copied from the context URL to the fallback URL.
    
    Without this commit, resolving new Tomcat URLs of the form
    `jar:war:file:...` would result in an ugly "Illegal reflective access"
    warning.
    
    Fixes gh-18631
    c4e41305
Name
Last commit
Last update
..
spring-boot-antlib Loading commit data...
spring-boot-autoconfigure-processor Loading commit data...
spring-boot-buildpack-platform Loading commit data...
spring-boot-configuration-metadata Loading commit data...
spring-boot-configuration-processor Loading commit data...
spring-boot-gradle-plugin Loading commit data...
spring-boot-jarmode-layertools Loading commit data...
spring-boot-loader Loading commit data...
spring-boot-loader-tools Loading commit data...
spring-boot-maven-plugin Loading commit data...
spring-boot-test-support Loading commit data...