• Andy Wilkinson's avatar
    Don't use a separate thread in the launcher to call app's main method · e561cc19
    Andy Wilkinson authored
    Using a separate thread to call the application's main method is
    unnecessary – the context class loader of the current thread can be
    updated instead – and makes exception and exit code handling more
    complicated than it needs to be.
    
    This commit updates the Launcher so that it calls the main method
    runner using the current (main) thread. As a result, any exception
    that's thrown will be caught by the JVM and result in a non-zero exit
    code being returned from the process.
    
    Closes gh-5922
    e561cc19
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...