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

Ivan Rakov updated IGNITE-12314:
--------------------------------
    Labels: newbie  (was: )

> Unexpected return type in case of retrieving Byte[]{1,2,3} from cache value.
> ----------------------------------------------------------------------------
>
>                 Key: IGNITE-12314
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12314
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Priority: Major
>              Labels: newbie
>
> Unexpected return type in case of retrieving Byte[]\{1,2,3} from cache value:
> {code:java}
> cache.put("aaa", new Byte[] {1, 2, 3});
> cache.get("aaa");{code}
> Byte[3]@... expected with corresponding content, however Object[3]@... got.
>  
> Seems that it's related to primitive wrapers, cause String[] as value works 
> as expected: 
> {code:java}
> cache.put("aaa", new String[] {"1", "2", "3"}); 
> cache.get("aaa");{code}
>  
> Arrays of primitives also works as expected:
> {code:java}
> cache.put("aaa", new byte[] {1, 2, 3});
> cache.get("aaa");{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to