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

[jira] Created: (HARMONY-4062) [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText

[classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText
-----------------------------------------------------------------------------------------

                 Key: HARMONY-4062
                 URL: https://issues.apache.org/jira/browse/HARMONY-4062
             Project: Harmony
          Issue Type: Bug
            Reporter: Leo Li


Here is a testcase:

public void test(){
                                          PropertyEditor propertyEditor = PropertyEditorManager
				.findEditor(Color.class);		
		propertyEditor.setValue(new Color(0,0,0));
		propertyEditor.setAsText("1,2,3");
		Color newColor = new Color(1, 2, 3);
		assertEquals(newColor, propertyEditor.getValue());
}

RI passes.
Harmony fails.

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


[jira] Commented: (HARMONY-4062) [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502166 ] 

Leo Li commented on HARMONY-4062:
---------------------------------

Sorry, Tim. I forgot to set the formatter in my new workspace.
And the patch has been verified.

Thank you.

> [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4062
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4062
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>            Assignee: Tim Ellison
>         Attachments: patch-4062.diff
>
>
> Here is a testcase:
> public void test(){
>                                           PropertyEditor propertyEditor = PropertyEditorManager
> 				.findEditor(Color.class);		
> 		propertyEditor.setValue(new Color(0,0,0));
> 		propertyEditor.setAsText("1,2,3");
> 		Color newColor = new Color(1, 2, 3);
> 		assertEquals(newColor, propertyEditor.getValue());
> }
> RI passes.
> Harmony fails.

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


[jira] Resolved: (HARMONY-4062) [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison resolved HARMONY-4062.
----------------------------------

    Resolution: Fixed

Thanks Leo.

Patch applied to BEANS module at repo revision r544826.

Please can you check that it was applied as you expected.

p.s.  Please set your editor to use spaces rather than tabs for indenting since that is our preferred style.

> [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4062
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4062
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>            Assignee: Tim Ellison
>         Attachments: patch-4062.diff
>
>
> Here is a testcase:
> public void test(){
>                                           PropertyEditor propertyEditor = PropertyEditorManager
> 				.findEditor(Color.class);		
> 		propertyEditor.setValue(new Color(0,0,0));
> 		propertyEditor.setAsText("1,2,3");
> 		Color newColor = new Color(1, 2, 3);
> 		assertEquals(newColor, propertyEditor.getValue());
> }
> RI passes.
> Harmony fails.

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


[jira] Updated: (HARMONY-4062) [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li updated HARMONY-4062:
----------------------------

    Attachment: patch-4062.diff

Will somebody try the patch?

Thanks.

> [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4062
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4062
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Attachments: patch-4062.diff
>
>
> Here is a testcase:
> public void test(){
>                                           PropertyEditor propertyEditor = PropertyEditorManager
> 				.findEditor(Color.class);		
> 		propertyEditor.setValue(new Color(0,0,0));
> 		propertyEditor.setAsText("1,2,3");
> 		Color newColor = new Color(1, 2, 3);
> 		assertEquals(newColor, propertyEditor.getValue());
> }
> RI passes.
> Harmony fails.

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


[jira] Assigned: (HARMONY-4062) [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison reassigned HARMONY-4062:
------------------------------------

    Assignee: Tim Ellison

> [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4062
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4062
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>            Assignee: Tim Ellison
>         Attachments: patch-4062.diff
>
>
> Here is a testcase:
> public void test(){
>                                           PropertyEditor propertyEditor = PropertyEditorManager
> 				.findEditor(Color.class);		
> 		propertyEditor.setValue(new Color(0,0,0));
> 		propertyEditor.setAsText("1,2,3");
> 		Color newColor = new Color(1, 2, 3);
> 		assertEquals(newColor, propertyEditor.getValue());
> }
> RI passes.
> Harmony fails.

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


[jira] Closed: (HARMONY-4062) [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li closed HARMONY-4062.
---------------------------


> [classlib][beans]org.apache.harmony.beans.editors.ColorEditor lacks support for setAsText
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4062
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4062
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>            Assignee: Tim Ellison
>         Attachments: patch-4062.diff
>
>
> Here is a testcase:
> public void test(){
>                                           PropertyEditor propertyEditor = PropertyEditorManager
> 				.findEditor(Color.class);		
> 		propertyEditor.setValue(new Color(0,0,0));
> 		propertyEditor.setAsText("1,2,3");
> 		Color newColor = new Color(1, 2, 3);
> 		assertEquals(newColor, propertyEditor.getValue());
> }
> RI passes.
> Harmony fails.

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