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

Investigate self-invocation of intercercepted private final method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.1.1.Final
    • 3.1.0.Final
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: