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:28:24 UTC

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

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


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

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-322?page=comments#action_12377355 ] 

Andrey Pavlenko commented on HARMONY-322:
-----------------------------------------

Mikhail, sorry for my delay.
It looks like everyething is OK.

> 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
>     Assignee: Mikhail Loenko
>  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


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

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-322?page=all ]
     
Mikhail Loenko resolved HARMONY-322:
------------------------------------

    Resolution: Fixed

fixed in revision 394898
Andrey, please verify that it fully resolves 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
>     Assignee: Mikhail Loenko
>  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


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

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-322?page=all ]

Mikhail Loenko reassigned HARMONY-322:
--------------------------------------

    Assign To: Mikhail Loenko

> 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
>     Assignee: Mikhail Loenko
>  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


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

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-322?page=all ]
     
Mikhail Loenko closed HARMONY-322:
----------------------------------


No complaints so far. Assuming it's OK.

> 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
>     Assignee: Mikhail Loenko
>  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


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

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
     [ 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