harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Martynov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1385) [classlib][beans] PropertyEditor for String class works incorrect
Date Tue, 05 Sep 2006 17:01:22 GMT
[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


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