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] Closed: (HARMONY-1749) [classlib][swing] BasicComboBoxUI.removeEditor() throws unspecified NPE
Date Wed, 14 Mar 2007 14:30:10 GMT

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

Alexey Petrenko closed HARMONY-1749.
------------------------------------


> [classlib][swing] BasicComboBoxUI.removeEditor() throws unspecified NPE
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-1749
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1749
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ilya Okomin
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: Harmony-1749-test.patch, Harmony-1749.patch
>
>
> Harmony throws unspecified NPE for javax.swing.plaf.basic.BasicComboBoxUI.removeEditor()
while RI does not.
> This case relevant to the undefined editor for BasicComboBoxUI instanse.
> -------------test.java--------------
> import junit.framework.TestCase;
> import javax.swing.plaf.basic.*;
> public class test extends TestCase {
>     public static void main(String[] args) {
>         junit.textui.TestRunner.run(test.class);
>     }
>     public void testRun() throws Exception{
>         BasicComboBoxUI cb = new BasicComboBoxUI();
>         cb.removeEditor();
>     }
> }
> ----------------------------------------
> ======Output RI======
> .
> Time: 0.321
> OK (1 test)
> ======Output Harmony======
> .E
> Time: 0.31
> There was 1 error:
> 1) testRun(test)java.lang.NullPointerException
> 	at javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:374)
> 	at test.testRun(test.java:13)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 	at main(test.java:9)
> FAILURES!!!
> Tests run: 1,  Failures: 0,  Errors: 1

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