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
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