harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-4852) [classlib][beans] ColorEditor.getAsText() throws NPE when color is null
Date Mon, 08 Oct 2007 08:42:51 GMT

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

Tony Wu resolved HARMONY-4852.
------------------------------

    Resolution: Fixed

Patch applied at r582746 with minor modification, please verify. Thanks.

> [classlib][beans] ColorEditor.getAsText() throws NPE when color is null
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-4852
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4852
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Regis Xu
>            Assignee: Tony Wu
>         Attachments: Harmony-4852.diff
>
>
> below test is passed on ri but throws NPE on harmony:
> ********TEST**********
>         PropertyEditor e2 = PropertyEditorManager.findEditor(Color.class);
>         assertNull(e2.getValue());
>         assertEquals("null", e2.getAsText());
> ********END************
> And i will create a patch for this soon.

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