harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-5211) The <public boolean isFileSystemRoot(File dir)> method in the FileSystemView class in Java Swing will always return false.
Date Wed, 28 Nov 2007 16:21:43 GMT

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

Alexey Petrenko reassigned HARMONY-5211:
----------------------------------------

    Assignee: Alexey Petrenko

> The <public boolean isFileSystemRoot(File dir)> 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
>            Assignee: Alexey Petrenko
>         Attachments: FileSystemView.patch
>
>
> The <public boolean isFileSystemRoot(File dir)> 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 <File dir>)
rather than the elements of the array.  Short fix, I just added the index  i to the variable
<File[] roots> in the loop.
>   

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


Mime
View raw message