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

Check original beanClass in #isFactoryBean calls for @Bean methods as well

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.2.2
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      See SPR-8954 for background. The fix there (against 3.1.1) resolved this issue for regular bean definitions, but as demonstrated in the topic branch linked below, the fix does not properly apply for @Bean methods with a FactoryBean return types.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                olivergierke Oliver Gierke
                Last updater:
                Juergen Hoeller
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 15 weeks, 4 days ago