[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Matěj Novotný updated WELD-2571 Weld / WELD-2571 Investigate self-invocation of intercercepted private final method Change By: Matěj Novotný Status: Pull Request Sent Resolved Resolution: Done Add Comment This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Matěj Novotný updated an issue Weld / WELD-2571 Investigate self-invocation of intercercepted private final method Change By: Matěj Novotný Git Pull Request: https://github.com/weld/core/pull/1917 Add Comment This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Issue was automatically transitioned when Matěj Novotný created pull request #1917 in GitHub Weld / WELD-2571 Investigate self-invocation of intercercepted private final method Change By: Matěj Novotný Status: Open Pull Request Sent Add Comment This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Matěj Novotný edited a comment on WELD-2571 Re: Investigate self-invocation of intercercepted private final method I've created a reproducer for this on [my branch|https://github.com/manovotn/core/tree/weld2571].The curious part is that the behaviour (actual interception happening) only manifests with *private final observer methods* which directly invokes intercepted method.If you use standard private final method that invokes the same intercepted method directly, interception won't happen which is expected (because it is no business method invocation). Likewise, if the observer method is just private but not final, it will not trigger the interception. Add Comment This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Matěj Novotný commented on WELD-2571 Re: Investigate self-invocation of intercercepted private final method I've created a reproducer for this on my branch. The curious part is that the behaviour (actual interception happening) only manifests with private final observer methods which directly invokes intercepted method. If you use standard private final method that invokes the same intercepted method directly, interception won't happen which is expected (because it is no business method invocation). Add Comment This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Matěj Novotný assigned an issue to Matěj Novotný Weld / WELD-2571 Investigate self-invocation of intercercepted private final method Change By: Matěj Novotný Assignee: Matěj Novotný Add Comment This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Matej Novotny created an issue Weld / WELD-2571 Investigate self-invocation of intercercepted private final method Issue Type: Bug Affects Versions: 3.1.0.Final Assignee: Unassigned Created: 19/Mar/19 2:57 AM Priority: Minor Reporter: Matej Novotny 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. Add Comment
[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Matej Novotny updated an issue Weld / WELD-2571 Investigate self-invocation of intercercepted private final method Change By: Matej Novotny Fix Version/s: 3.1.1.Final Add Comment This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (WELD-2571) Investigate self-invocation of intercercepted private final method
Title: Message Title Matej Novotny updated an issue Weld / WELD-2571 Investigate self-invocation of intercercepted private final method Change By: Matej Novotny Forum Reference: https://developer.jboss.org/message/988443 Add Comment This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues