You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Jozef Hartinger (JIRA)" <ji...@apache.org> on 2014/02/10 09:43:19 UTC

[jira] [Commented] (DELTASPIKE-517) improved weld-support

    [ https://issues.apache.org/jira/browse/DELTASPIKE-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13896320#comment-13896320 ] 

Jozef Hartinger commented on DELTASPIKE-517:
--------------------------------------------

Weld always returns an instance of an enhanced subclass from getTarget(). The difference between Weld 1.x and 2.x is that with Weld 2.x the intercepted method on the subclass contains the annotations copied from the superclass' method. The patch looks good.

> improved weld-support
> ---------------------
>
>                 Key: DELTASPIKE-517
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-517
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: JPA-Module, Security-Module
>    Affects Versions: 0.5
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 0.6
>
>         Attachments: DELTASPIKE-517.patch
>
>
> with some versions of weld (e.g. 1.1.16) InvocationContext#getTarget returns the subclass-proxy. due to the proxy-class, we can't extract the correct annotations.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)