Uploaded image for project: 'Commons JXPath'
  1. Commons JXPath
  2. JXPATH-35

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1 Final
    • None
    • None
    • Operating System: All
      Platform: PC

    • 28255

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            heiko.bensch@boss-ag.de Heiko Bensch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: