harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-341) The method PropertyEditorSupport.getAsText() throws ClassCastException.
Date Thu, 13 Apr 2006 09:30:58 GMT
The method PropertyEditorSupport.getAsText() throws ClassCastException.

         Key: HARMONY-341
         URL: http://issues.apache.org/jira/browse/HARMONY-341
     Project: Harmony
        Type: Bug

    Reporter: Andrey Pavlenko

The method PropertyEditorSupport.getAsText() throws ClassCastException if the source object
is not of Type String.

Code for reproducing: 

public class Test {

    public static void main(String[] args) {
        PropertyEditor editor = new TestEditor();
        editor.setValue(new Object());

    private static class TestEditor extends PropertyEditorSupport {

        private TestEditor() {

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message