• Andy Wilkinson's avatar
    Fix file handle leak in JarFileTests · ebebe09a
    Andy Wilkinson authored
    The JarFile was not being closed which linked a file handle and caused
    a test failure on Windows.
    
    The local variable has been renamed as, when declared in a
    try-with-resources, Checkstyle was confused by the shadowing of the
    jarFile field and required references to jarFile within the try-block
    the be prefixed with this.
    
    See gh-19595
    ebebe09a
Name
Last commit
Last update
..
it Loading commit data...
main/java/org/springframework/boot/loader Loading commit data...
test Loading commit data...