Sébastien Deleuze opened SPR-13445 and commented
Running some benchmarks on spring-boot-sample-web-handlebars demo application then running lsof command line tool shows a lot of template files opened.
ScriptTemplateView#getTemplate() should close the template InputStream properly, since according to its Javadoc, StreamUtils#copyToString leaves the stream open when done.
Affects: 4.2.1
Referenced from: commits ff02ad4