[
https://issues.apache.org/jira/browse/WINK-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995474#comment-12995474
]
Hudson commented on WINK-334:
-----------------------------
Integrated in Wink-Trunk-JDK1.5 #433 (See
[https://hudson.apache.org/hudson/job/Wink-Trunk-JDK1.5/433/])
WINK-334 - Applying patch from Raymong Feng to enhance support for java
generics
> 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