harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2597) [classlib][swing] javax.swing.JFileChooser.getFileFilter() returns non-null value after calling setFileFilter(null)
Date Thu, 22 Feb 2007 14:27:23 GMT

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

Alexei Zakharov updated HARMONY-2597:
-------------------------------------

    Patch Info: [Patch Available]

> [classlib][swing] javax.swing.JFileChooser.getFileFilter() returns non-null value after
calling setFileFilter(null)
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2597
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2597
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>            Priority: Minor
>         Attachments: Harmony-2597-FileChooser.patch
>
>
> Test case:
> --------------
> import javax.swing.JFileChooser;
> import junit.framework.TestCase;
> public class TheTest extends TestCase {
>     public static void main(String args[]) {
>         junit.textui.TestRunner.run(TheTest.class);
>     }
>     public void testcase1() {
>         JFileChooser fc = new JFileChooser();
>         fc.setFileFilter(null);
>         assertNull(fc.getFileFilter());
>     }
> }

-- 
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