[
https://issues.apache.org/jira/browse/IGNITE-14742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17452362#comment-17452362
]
Nikolay Izhikov commented on IGNITE-14742:
------------------------------------------
testPutComplexObject failured unrelated test start fail recently on almost
every master build:
https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_JavaClient/6218240
https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_JavaClient/6218436
https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_JavaClient/6218430
> 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
> Assignee: Nikolay Izhikov
> Priority: Major
> Time Spent: 5h 50m
> Remaining Estimate: 0h
>
> 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.20.1#820001)