[weld-dev] Is my class a proxy?
Bill Burke
bburke at redhat.com
Tue Oct 29 10:10:25 EDT 2013
https://issues.jboss.org/browse/WELD-1539
I don't seem to have permission to assign it to somebody.
On 10/29/2013 9:59 AM, Stuart Douglas wrote:
>
>
>
> On Tue, Oct 29, 2013 at 2:29 PM, Bill Burke <bburke at redhat.com
> <mailto:bburke at redhat.com>> wrote:
>
> Hey all,
>
> CDI proxies lose generic type information which screws up Resteasy:
>
> https://issues.jboss.org/browse/RESTEASY-985
>
> Basically, in the bug, an injected bean's method is losing parameter
> type information. Can you either:
>
> a) Fix weld proxies so that generic type information is not lost (in
> this case, it is method parameter type information). *Preferred*
>
>
> We can do this. File a weld JIRA and assign it to me and I will have a
> look at it when I get time.
>
>
> Stuart
>
>
> b) Have a supported way going forward to determine if the class is a CDI
> proxy. A marker interface or an annotation added to the proxy class
> would be best, then I wouldn't need to have a binary dependency on Weld
> and could do this via reflect calls.
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org <mailto:weld-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/weld-dev
>
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
More information about the weld-dev
mailing list