Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 46122 invoked from network); 28 Nov 2007 06:23:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 06:23:06 -0000 Received: (qmail 18081 invoked by uid 500); 28 Nov 2007 06:22:55 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 18065 invoked by uid 500); 28 Nov 2007 06:22:55 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 18051 invoked by uid 99); 28 Nov 2007 06:22:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 22:22:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 06:22:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 578BD71422B for ; Tue, 27 Nov 2007 22:22:43 -0800 (PST) Message-ID: <21815070.1196230963356.JavaMail.jira@brutus> Date: Tue, 27 Nov 2007 22:22:43 -0800 (PST) From: "Robert Owolabi (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5211) The method in the FileSystemView class in Java Swing will always return false. In-Reply-To: <29748019.1196230842995.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Owolabi updated HARMONY-5211: ------------------------------------ Attachment: FileSystemView.patch > The method in the FileSystemView class in Java Swing will always return false. > -------------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-5211 > URL: https://issues.apache.org/jira/browse/HARMONY-5211 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Robert Owolabi > Attachments: FileSystemView.patch > > > The method in the FileSystemView class (java.swing.filechooser) will always return false because as it loops through all of the available roots, it is comparing an array with a File object (The parameter ) rather than the elements of the array. Short fix, I just added the index i to the variable in the loop. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.