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

"!target(...)" pointcut expression never matches any method

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.5.6
    • Fix Version/s: Waiting for Triage
    • Component/s: Core:AOP
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      A pointcut expression containing

      !target(com.some.Interface)

      (note the negation in front!) never matches any method. Even if com.some.Interface doesn't have any implementations.

        Attachments

          Activity

            People

            • Assignee:
              aclement Andy Clement
              Reporter:
              grzegorz.oledzki Grzegorz Olędzki
              Last updater:
              Chris Beams
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                6 years, 48 weeks, 4 days ago