cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-2401) JAX-RS code doesn't have enough visibility into parameterized types to work
Date Thu, 27 Aug 2009 20:05:59 GMT

     [ https://issues.apache.org/jira/browse/CXF-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp updated CXF-2401:
-----------------------------

    Fix Version/s:     (was: 2.3)
                   2.2.4

> JAX-RS code doesn't have enough visibility into parameterized types to work 
> ----------------------------------------------------------------------------
>
>                 Key: CXF-2401
>                 URL: https://issues.apache.org/jira/browse/CXF-2401
>             Project: CXF
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.3
>            Reporter: Benson Margulies
>            Assignee: Sergey Beryozkin
>             Fix For: 2.2.4
>
>
> org.apache.cxf.jaxrs.provider.AegisJSONProviderTest.testWriteCollection() will explode
if you un-ignore it. Why?
> org.apache.cxf.jaxrs.provider.AegisElementProvider.createStreamWriter(Class<?>,
OutputStream) is called with a Class, but it needs a full java.lang.reflect.Type to work right.
org.apache.cxf.jaxrs.provider.AegisJSONProvider.createStreamWriter(Class<?>, OutputStream)
wants to map the type to a QName, and that won't work for generic types and collections from
a plain class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message