Nikolay Izhikov created IGNITE-14742:
----------------------------------------
Summary: Store array component type in binary object
Key: IGNITE-14742
URL: https://issues.apache.org/jira/browse/IGNITE-14742
Project: Ignite
Issue Type: Improvement
Reporter: Nikolay Izhikov
Currently, an array of custom objects can't be retrieved from the cache
{code:java}
public class BinaryObjectTest extends GridCommonAbstractTest {
/** */
@Test
public void testArray() throws Exception {
Ignite ign = startGrid();
IgniteCache<Integer, TestClass1[]> cache = ign.createCache("my-cache");
cache.put(1, new TestClass1[] {new TestClass1(), new TestClass1()});
TestClass1[] obj = cache.get(1);
assertEquals(TestClass1[].class, obj.getClass());
}
}
{code}
The fix should preserve backward compatibility.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)