Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 44728 invoked from network); 19 Oct 2010 02:36:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Oct 2010 02:36:48 -0000 Received: (qmail 54794 invoked by uid 500); 19 Oct 2010 02:36:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 54421 invoked by uid 500); 19 Oct 2010 02:36:48 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 54413 invoked by uid 99); 19 Oct 2010 02:36:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 02:36:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 02:36:47 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9J2aQa0019401 for ; Tue, 19 Oct 2010 02:36:27 GMT Message-ID: <31349590.35961287455786878.JavaMail.jira@thor> Date: Mon, 18 Oct 2010 22:36:26 -0400 (EDT) From: "Sebb (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (VFS-324) RamFileSystem.close() should clear the cache rather than nulling it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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: Improvement Reporter: Sebb 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.