Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8813

AutowiredAnnotationBeanPostProcessor CGLIB proxies

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      AutowiredAnnotationBeanPostProcessor.buildAutowiringMetadata does not find method annotations on CGLIB proxies

      problem occurs when using custom valueResolver and calling beanFactory.autowireBeanProperties after first context initialization

      solution would be using ClassUtils.getUserClass in method AutowiredAnnotationBeanPostProcessor.findAutowiringMetadata

        Attachments

          Activity

            People

            • Assignee:
              cbeams Chris Beams
              Reporter:
              madis.parn Madis Pärn
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 25 weeks, 5 days ago