Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CompositeException stops mutating nested Exceptions #1388

Conversation

mattrjacobs
Copy link
Contributor

Instead, it aggregates them at print-time. Since nothing is being mutated, there's no chance of accidentally creating a cycle in the Exception chain. We ran into this in production very intermittently and had to add handling any time we were touching the Exception chain.

…cks, but instead

aggregates them at print-time.

Since nothing is being mutated, there's no chance of accidentally creating a cycle in the Exception chain.
@cloudbees-pull-request-builder

RxJava-pull-requests #1329 FAILURE
Looks like there's a problem with this pull request

@cloudbees-pull-request-builder

RxJava-pull-requests #1330 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Jun 25, 2014
…n-creation

CompositeException stops mutating nested Exceptions
@benjchristensen benjchristensen merged commit b40e89f into ReactiveX:master Jun 25, 2014

ex.printStackTrace();
//ex.printStackTrace(printStream);
//assertFalse(baos.toString().contains("CIRCULAR REFERENCE"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assertion is commented out. Does this actually test anything?

@mattrjacobs mattrjacobs deleted the eliminate-circular-exception-creation branch January 8, 2015 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants