• Andy Wilkinson's avatar
    Include value of java.io.tmpdir in message when createTempFile fails · f8fdcc13
    Andy Wilkinson authored
    If java.io.tmpdir is configured to a directory that does not exist,
    calls to File.createTempFile will fail with an IOException with the
    message "The system cannot find the path specified". Unfortunately,
    the path the was specified is not included in the message.
    
    Rather than trying to automatically create the directory in what may
    be a misconfigured location, we now include the value of
    java.io.tmpdir in our own exception's message. Hopefully this will
    help users to figure out what they've done wrong.
    
    Closes gh-3307
    f8fdcc13
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator 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-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...
spring-boot-versions 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...
pom.xml Loading commit data...