You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2007/03/12 10:52:10 UTC

[jira] Assigned: (HARMONY-2597) [classlib][swing] javax.swing.JFileChooser.getFileFilter() returns non-null value after calling setFileFilter(null)

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

Alexey Petrenko reassigned HARMONY-2597:
----------------------------------------

    Assignee: Alexey Petrenko

> [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
>         Assigned To: Alexey Petrenko
>            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.