[
https://issues.apache.org/jira/browse/IGNITE-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15813322#comment-15813322
]
ASF GitHub Bot commented on IGNITE-2422:
----------------------------------------
GitHub user dream-x opened a pull request:
https://github.com/apache/ignite/pull/1411
IGNITE-2422: Prevent serialization of BinaryObjectBuilder
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dream-x/ignite ignite-2422
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1411.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1411
----
commit 48059532376a625421b6a2b8e0359f06f1d0d81c
Author: Max Kozlov <[email protected]>
Date: 2017-01-09T23:58:55Z
Add method testSerializeBinaryObjectBuilder() in
BinaryObjectBuilderAdditionalSelfTest class.
commit 9eb4b4420b5e0fd90f8a923bb096c6ee99b9e9da
Author: Max Kozlov <[email protected]>
Date: 2017-01-10T00:02:56Z
Change method setField(String name, Object val0) for prevent serialization
BinaryObjectBuilder
commit 9154c568bd2eb478998186a43298e5979fdeb78f
Author: Max Kozlov <[email protected]>
Date: 2017-01-10T00:05:55Z
Delete unused import.
----
> Prevent serialization of BinaryObjectBuilder
> --------------------------------------------
>
> Key: IGNITE-2422
> URL: https://issues.apache.org/jira/browse/IGNITE-2422
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 1.5.0.final
> Reporter: Denis Magda
> Assignee: Maksim Kozlov
> Labels: important
> Fix For: 2.0
>
> Attachments: ExampleNodeStartup.java
>
>
> Presently it's possible to serialize {{BinaryObjectBuilder}} but it will lead
> to the errors at deserialization stage.
> We have to prevent serialization of the builder throwing a meaningful
> exception.
> Run an example from attach and you will see an exception that is caused by
> the serialization/deserialization of the builder.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)