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


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.

Reply via email to