Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
RamFileSystem.close() should probably clear the cache rather than nulling it.
This would allow the field to be made final, as well as avoiding an NPE if any methods using the cache are invoked after close.
Making the field final would ensure it was published correctly - at present the class is not thread-safe