You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2010/11/01 21:00:27 UTC

[jira] Resolved: (VFS-324) RamFileSystem.close() should clear the cache rather than nulling it

     [ https://issues.apache.org/jira/browse/VFS-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers resolved VFS-324.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

Please verify the fix.

> RamFileSystem.close() should clear the cache rather than nulling it
> -------------------------------------------------------------------
>
>                 Key: VFS-324
>                 URL: https://issues.apache.org/jira/browse/VFS-324
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 2.0
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.