You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Surkov Aleksandr (Jira)" <ji...@apache.org> on 2021/03/19 10:02:00 UTC

[jira] [Commented] (IGNITE-14348) Use classes with different version

    [ https://issues.apache.org/jira/browse/IGNITE-14348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304788#comment-17304788 ] 

Surkov Aleksandr commented on IGNITE-14348:
-------------------------------------------

If change _Arrays.asList()_ to _new ArrayList<>()_ and _.add()_ the error will go away.

> Use classes with different version
> ----------------------------------
>
>                 Key: IGNITE-14348
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14348
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.9
>            Reporter: Surkov Aleksandr
>            Priority: Major
>         Attachments: use-different-classes.zip
>
>
> There may be a situation when the user saves objects with one version of the class, and receives with another version.
> For example, after adding or removing a field in the class, the value of the serialVersionUID field may changed.
> After that, two situations can occur:
> # if user save object as value(key - SomeObject) or map(key - Map<id, SomeObject>) then there will be no errors;
> # if for value used list of SomeObject then there will be error;



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