Affects Version/s: 1.2.2
Fix Version/s: 1.3
Regarding latest SVN revision:
The DiskFileItemFactory documents:
Temporary files are automatically deleted as soon as they are no longer needed. (More precisely, when the corresponding instance of
is garbage collected.)
But the code in DiskFileItemFactory.createItem() is doing:
Which means the file is cleaned when DiskFileItemFactory is garbage collected.
This error is propably introduced in Rev 578253 when the code was moved from DiskFileItem to DiskFileItemFactory, without changing "this" (which was DiskFileItem) and is not DiskFileItemFactory.