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

Oddo edited comment on IGNITE-2693 at 3/6/16 9:57 PM:
------------------------------------------------------

Vlad,

I introduced the tests and they pass. However, there are two tests that fail 
(unrelated to my tests) but they both use withKeepBinary() in the following 
way: grid().cache(null).withKeepBinary()

It appears that when you create a cache with a null config, it does NOT assume 
a binary marshaller :-)

Should I just fix the tests and document that assumption or is this a deeper 
issue that needs to be addressed?

You can look at the tests results on TC here: 
http://204.14.53.151/viewLog.html?buildTypeId=IgniteTests_IgniteDataGrid&buildId=205766

Let me know what you think.


was (Author: maketo):
Vlad,

I introduced the tests and they pass. However, there are two tests that fail 
(unrelated to my tests) but they both use withKeepBinary() in the following 
way: grid().cache(null).

It appears that when you create a cache with a null config, it does NOT assume 
a binary marshaller :-)

Should I just fix the tests and document that assumption or is this a deeper 
issue that needs to be addressed?

You can look at the tests results on TC here: 
http://204.14.53.151/viewLog.html?buildTypeId=IgniteTests_IgniteDataGrid&buildId=205766

Let me know what you think.

> withKeepBinary and non-binary marshallers
> -----------------------------------------
>
>                 Key: IGNITE-2693
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2693
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>            Reporter: Sergey Kozlov
>            Assignee: Oddo
>              Labels: newbie
>             Fix For: 1.6
>
>
> Currently the user is able to set {{.withKeepBinary()}} for any used 
> marshaller. But it obviously causes ClassCastException for non-binary 
> marshallers and should be available only for binary marshaller.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to