[
https://issues.apache.org/jira/browse/IGNITE-6944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262821#comment-16262821
]
Andrey Gura commented on IGNITE-6944:
-------------------------------------
IGNITE-6485 test case is real and valid case.
I've took a look to the problem and see that Java serializer use protected
{{SingletoneImmutableList.writeReplace()/readResolve()}} methods in despite of
absence of methods parameters. It looks strange for me but it is implementation
of Java serialization and we should take it into account.
My solution the following:
- try to find in class private writeReplace/readResolve methods with
output/input stream as parameter.
- if there are no such methods then we should try to find
writeReplace/readResolve methods with any access modifiers and signatures.
It should work for IGNITE-6485 case and for this issue. But there are some
problem in case of several methods with equal name but different signatures.
Will check my solution soon.
> Fail to execute task with immutable list string
> -----------------------------------------------
>
> Key: IGNITE-6944
> URL: https://issues.apache.org/jira/browse/IGNITE-6944
> Project: Ignite
> Issue Type: Bug
> Components: binary
> Affects Versions: 2.3
> Reporter: Edmond Tsang
> Attachments: BinaryMarshellerWithGuavaSelfTest.java,
> TestClientWithGuava.java
>
>
> Exception occurs when executing task with immutable list of string due to not
> able to find method readResolve/writeReplace for binary object.
> It appears this is caused by a side effect of Jira
> https://issues.apache.org/jira/browse/IGNITE-6485
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)