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

Fix SynchronizedQueue.equals #3104

Merged
merged 1 commit into from
Aug 12, 2015

Conversation

davidmoten
Copy link
Collaborator

Courtesy of findBugs, SynchronizedQueue.equals() is improperly implemented. I used Eclipse to generate a new equals() method based on the list field.

The existing code would even have failed to return true when testing queue equality with itself.

I don't think this is causing problems anywhere but this PR will ensure that it doesn't cause a problem in the future.

@akarnokd
Copy link
Member

SynchronizedQueue should be replaced with one of the JCTools' atomic-based bounded queues instead.

@akarnokd akarnokd added the Bug label Jul 24, 2015
@akarnokd
Copy link
Member

Thanks.

akarnokd added a commit that referenced this pull request Aug 12, 2015
@akarnokd akarnokd merged commit dd5c909 into ReactiveX:1.x Aug 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants