Details
-
Bug
-
Resolution: Done
-
Major
-
5.4.0.Final, 5.5.0.Beta1
-
None
Description
Calling getLastModified() on a ClassPathResource allocates a file descriptor and doesn't release it until the ClassPathResource object is garbage-collected.
I believe that this is a bug in JarURLConnection in Sun's JDK6, as noticed by the Freemarker project, who also created a fix.