[
https://issues.apache.org/jira/browse/WINK-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryant Luk resolved WINK-312.
-----------------------------
Assignee: Bryant Luk
Fix Version/s: 1.1.2
Resolution: Fixed
Thanks for the patch.
> GenericsUtils.isAssignable() cannot handle primitive types
> ----------------------------------------------------------
>
> Key: WINK-312
> URL: https://issues.apache.org/jira/browse/WINK-312
> Project: Wink
> Issue Type: Bug
> Components: Common
> Affects Versions: 1.1.2
> Reporter: Raymond Feng
> Assignee: Bryant Luk
> Fix For: 1.1.2
>
> Attachments: wink.patch
>
>
> I added a MessageBodyReader implementation such as:
> public class DataBindingJAXRSReader implements MessageBodyReader<Object>
> This reader can handle conversions from XML to primitive types and vice
> versa. Wink finds out the parameter type is Object.class.
> If we have a JAX-RS interface which returns long (instead of Long), then the
> test compatibility is broken as Object.class.isAssignaleFrom(long.class)
> returns false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.