[
https://issues.apache.org/jira/browse/WINK-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995410#comment-12995410
]
Luciano Resende commented on WINK-334:
--------------------------------------
Patch applied under svn revision #1071325, Thanks Raymond.
> Wink doesn't honor the generic type bindings
> --------------------------------------------
>
> Key: WINK-334
> URL: https://issues.apache.org/jira/browse/WINK-334
> Project: Wink
> Issue Type: Bug
> Components: Common
> Affects Versions: 1.1.2
> Reporter: Raymond Feng
> Attachments: rfeng.patch
>
>
> Wink doesn't honor the Java generic type bindings for the following case:
> public interface Base<T> {
> @Path("{id}"
> @GET
> T get(@PathParam("id") id);
> }
> public interface Real extends Base<Customer> {
> }
> In this case, wink sets Object.class as the type for MessageBody providers.
> Ideally, it should resolve to Customer.class.
> I attach a patch to fix the issue.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira