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

Ryabov Dmitrii edited comment on IGNITE-602 at 9/26/17 11:33 AM:
-----------------------------------------------------------------

[~agura], It fixes one test, as in 
[this|https://github.com/apache/ignite/pull/1558/commits/ac0138610f8d0d04a06344a08bd51d9fe8b4b6ab]
 change, which fails because of too long string containing something like 
"cleaner@hash1 [cleaner@hash2 [cleaner@hash3 ... ]]]". But i can't remember why 
I didn't wrote name of the test.


was (Author: somefire):
It fixes one test, as in 
[this|https://github.com/apache/ignite/pull/1558/commits/ac0138610f8d0d04a06344a08bd51d9fe8b4b6ab]
 change, which fails because of too long string containing something like 
"cleaner@hash1 [cleaner@hash2 [cleaner@hash3 ... ]]]". But i can't remember why 
I didn't wrote name of the test.

> [Test] GridToStringBuilder is vulnerable for StackOverflowError caused by 
> infinite recursion
> --------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-602
>                 URL: https://issues.apache.org/jira/browse/IGNITE-602
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>            Reporter: Artem Shutak
>            Assignee: Ryabov Dmitrii
>              Labels: MakeTeamcityGreenAgain, Muted_test
>             Fix For: 2.3
>
>
> See test 
> org.gridgain.grid.util.tostring.GridToStringBuilderSelfTest#_testToStringCheckAdvancedRecursionPrevention
>  and related TODO in same source file.
> Also take a look at 
> http://stackoverflow.com/questions/11300203/most-efficient-way-to-prevent-an-infinite-recursion-in-tostring
> Test should be unmuted on TC after fix.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to