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-322) Unable to create a PropertyEditor for classes located in the bootclasspath.
Date Fri, 07 Apr 2006 12:28:24 GMT
Unable to create a PropertyEditor for classes located in the bootclasspath.
---------------------------------------------------------------------------

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

  Components: Classlib  
    Reporter: Andrey Pavlenko


The method java.beans.PropertyEditorManager.findEditor() does not find editors for classes
located in the bootclasspath.

Code for reproducing:

import java.beans.PropertyEditorManager;

public class Test {

    public static void main(String[] args) throws Exception {
        PropertyEditorManager
                .setEditorSearchPath(new String[] { "test.editor" });

        if (PropertyEditorManager.findEditor(Integer.class) == null) {
            System.out.println("FAIL");
        } else {
            System.out.println("PASS");
        }
    }
}

package test.editor;

import java.beans.PropertyEditorSupport;
 
public class IntegerEditor extends PropertyEditorSupport {
}


-- 
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