Details
Description
Currently, an array of custom objects can't be retrieved from the cache
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()); } }
The fix should preserve backward compatibility.
Attachments
Issue Links
- is duplicated by
-
IGNITE-12314 Unexpected return type in case of retrieving Byte[]{1,2,3} from cache value.
- Resolved
- relates to
-
IGNITE-14299 .NET: Service loses array type information
- Resolved
- links to