[
https://issues.apache.org/jira/browse/WINK-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raymond Feng updated WINK-334:
------------------------------
Attachment: rfeng.patch
This is the path. The Java type introspection code is derived from Jackson
which is Apache 2 licensed.
> 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