You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/02/06 14:30:42 UTC

[jira] [Commented] (CXF-7244) CXF 3.1.10 importing wrong class

    [ https://issues.apache.org/jira/browse/CXF-7244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854105#comment-15854105 ] 

Sergey Beryozkin commented on CXF-7244:
---------------------------------------

Ouch, this is unfortunate. The problem it was not detected by the tests which have the Olingo dependencies. Can you please add the Olingo dep just to get that code working, it won't affect your FiqlParser code...



> CXF 3.1.10 importing wrong class
> --------------------------------
>
>                 Key: CXF-7244
>                 URL: https://issues.apache.org/jira/browse/CXF-7244
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.10
>         Environment: Java 8, karaf
>            Reporter: Hector Kikuchi Martins
>
> The fix correcting the issue CXF-7213, do the follow attribution:
> Class<?> collCls = Collection.class.isAssignableFrom(valueType) ? valueType : returnType;
> that uses the:
> org.apache.olingo.odata2.api.servicedocument.Collection
> And I'm getting a crash on my app, because I'm using FIQL, i'm not importing any odata dependency.
> I think it should use java.utils.Collections instead. Am I right?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)