You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Victor Martynov (JIRA)" <ji...@apache.org> on 2006/09/05 19:01:22 UTC
[jira] Created: (HARMONY-1385) [classlib][beans] PropertyEditor for
String class works incorrect
[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
[jira] Assigned: (HARMONY-1385) [classlib][beans] PropertyEditor
for String class works incorrect
Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1385?page=all ]
Mikhail Loenko reassigned HARMONY-1385:
---------------------------------------
Assignee: Mikhail Loenko
> [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
[jira] Resolved: (HARMONY-1385) [classlib][beans] PropertyEditor
for String class works incorrect
Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (HARMONY-1385) [classlib][beans] PropertyEditor
for String class works incorrect
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1385?page=comments#action_12432828 ]
Alexei Zakharov commented on HARMONY-1385:
------------------------------------------
Hi Victor,
It seems your problem has already been described in HARMONY-1199. And Harmony-1199.patch should fix the issue if some commiter integrates it.
Alexei
> [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