Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle StackOverflowError from both pendingToString and appendUserObj…
…ect. Adds a bunch of tests to validate error handling in toString code - Verify that a future completing during the toString call results in a done formatted string - Verify that an exception thrown by pendingToString doesn't cause toString to fail - Verify that cycles don't cause toString to fail - Verify that deep chains of SetFuture don't cause toString to fail RELNOTES=Catch StackOverflowError in AbstractFuture.toString to prevent long chains of futures from failing toString calls. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=277570829
- Loading branch information
Showing
4 changed files
with
140 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters