You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Pavlenko (JIRA)" <ji...@apache.org> on 2006/04/07 14:30:23 UTC

[jira] Updated: (HARMONY-322) Unable to create a PropertyEditor for classes located in the bootclasspath.

     [ http://issues.apache.org/jira/browse/HARMONY-322?page=all ]

Andrey Pavlenko updated HARMONY-322:
------------------------------------

    Attachment: PropertyEditorManager.patch

The attached patch fixes the problem.

> 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
>  Attachments: PropertyEditorManager.patch
>
> 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