Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-280

parent classes can't be loaded through linkParent in some cases

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2
    • None
    • None

    Description

      at the moment linkParent tries to use normal scanning (bytecode) or reflection if not possible.

      Issue is in this last case it checks info.clazz is already loaded which is likely not the case. Toavoid it we have to call info.get() to let it a chance to load the class.

      It also doesn't add the classinfo to the map of classinfo so inheritance is broken.

      This fix will add the flag xbean.finder.prevent-lazy-linking=false to go back to previous version in case it induce undesired side effects.

      Attachments

        Issue Links

          Activity

            People

              romain.manni-bucau Romain Manni-Bucau
              romain.manni-bucau Romain Manni-Bucau
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: