harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-1385) [classlib][beans] PropertyEditor for String class works incorrect
Date Thu, 07 Sep 2006 07:29:27 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1385?page=all ]

Mikhail Loenko resolved HARMONY-1385.
-------------------------------------

    Resolution: Fixed

Victor, please confirm that the problem has disappeared once 1199 is fixed

> [classlib][beans] PropertyEditor for String class works incorrect
> -----------------------------------------------------------------
>
>                 Key: HARMONY-1385
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1385
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>         Environment: winXP
>            Reporter: Victor Martynov
>         Assigned To: Mikhail Loenko
>
> I tried to install application which uses Install Shield Wizard as an installation engine
and found out that the installation fails.
> The essence of problem is shown in example below.
> Example:
> ---------------------------------------------------------------------------------------
> import java.beans.*;
> public class Test { 
>             public static void main(String args[]) throws Throwable {   
>                             PropertyEditor pe = PropertyEditorManager.findEditor(String.class);
>                             pe.setAsText("Hello world!");
>             }
> }
> ---------------------------------------------------------------------------------------
> Output on reference implementation:
> c:\test>java Test
> Output on Harmony: 
> c:\test>java Test
> java.lang.IllegalArgumentException: Hello world!
>         at java.beans.PropertyEditorSupport.setAsText(PropertyEditorSupport.java:72)
> ---------------------------------------------------------------------------------------
> It seems that the problem lies in class "org.apache.harmony.beans.editors.StringEditor".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message