You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/07/13 22:14:01 UTC
[jira] [Closed] (WINK-312) GenericsUtils.isAssignable() cannot
handle primitive types
[ https://issues.apache.org/jira/browse/WINK-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek closed WINK-312.
---------------------------------
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira