You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2007/03/02 11:06:50 UTC

[jira] Updated: (HARMONY-2580) [classlib][swing] javax.swing.JFileChooser.getName() returns class name instead of null

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

Alexei Zakharov updated HARMONY-2580:
-------------------------------------

    Patch Info: [Patch Available]

> [classlib][swing] javax.swing.JFileChooser.getName() returns class name instead of null
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2580
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2580
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Pavel Dolgov
>            Priority: Minor
>         Attachments: Harmony-2580-DefaultTableCellRenderer.patch, Harmony-2580-DefaultTableCellRendererTest.patch, Harmony-2580-JFileChooser.patch, Harmony-2580-JFileChooserTest.patch
>
>
> The same result for javax.swing.table.DefaultTableCellRenderer
> Test case:
> --------------
> import javax.swing.JFileChooser;
> import javax.swing.table.DefaultTableCellRenderer;
> 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();
>         assertNull(fc.getName());
>     }
>     public void testcase2() {
>         DefaultTableCellRenderer cr = new DefaultTableCellRenderer();
>         assertNull(cr.getName());
>     }
> }

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