You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/04/07 13:26:15 UTC

DO NOT REPLY [Bug 28255] New: - JXPathIntrospector Method JXPathIntrospector.getBeanInfo doesn't find correct JXPathBeanInfo Objects

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28255>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28255

JXPathIntrospector Method JXPathIntrospector.getBeanInfo doesn't find correct JXPathBeanInfo Objects

           Summary: JXPathIntrospector Method JXPathIntrospector.getBeanInfo
                    doesn't find correct JXPathBeanInfo Objects
           Product: Commons
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: JXPath
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: heiko.bensch@boss-ag.de


I have written a class MyDynamicPropertyHandler. 
I execute the following Code:

JXPathBeanInfo info0;
JXPathBeanInfo info1;

JXPathIntrospector.registerDynamicClass(Component.class, 
MyDynamicPropertyHandler.class);

info0=JXPathIntrospector.getBeanInfo(Component.class);
info1=JXPathIntrospector.getBeanInfo(JComponent.class);


sLogger.debug("isSame: "+(info0==info1));

The output is:

isSame false


I think the Objects info0 and info1 should be the same 
because I Component is a parent of JComponent.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org