Get returns the value of the superclass ArrayList in hazelcast 3.5

I have serialization issue with hazelcast 3.5:

When a single click from a walnut tree (Java) places a class value

public class MyType extends ArrayList<MyElem>

to the map, and then another client (another Java process) retrieves the value, it returns the value of the class ArrayList, not the expected subclass MyType!

In version 6.1.3, this worked fine for hazel: the second client received the value of the correct subclass MyType.

I used the sample configuration hazelcast.xml and start script server.bat in both versions of the gazelle.

Perhaps this is a bug in the new version 3.5?

My client configuration is empty.

+4
source share
1 answer

Hazelcast ( , ) 3.4 List. , . Hazelcast factory , .

+1

Source: https://habr.com/ru/post/1598868/


All Articles