Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2571

Investigate self-invocation of intercercepted private final method

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.1.0.Final
    • Fix Version/s: 3.1.1.Final
    • Component/s: None
    • Labels:
      None

      Description

      This issue is based on forum post which provides more in-depth description as well as a scenario that should reproduce the behaviour.

      In short, Weld only handles interception if method invocation goes through a contextual reference (in order for it to be business method invocation). Therefore, calls such as this.foo() shouldn't be intercepted. However, there seems to be some awkward behaviour when a method is private and final.

      Good starting point would be to dump the proxies created by Weld as private final methods will need to be handled differently.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manovotn Matěj Novotný
                Reporter:
                manovotn Matěj Novotný
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: