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

Using project.tasks.withType sometimes leads to ConcurrentModificationException #5708

Closed
rajnx opened this issue Jun 13, 2018 · 4 comments
Closed
Assignees
Milestone

Comments

@rajnx
Copy link

rajnx commented Jun 13, 2018

Expected Behavior

When using project.tasks.withType() { } in gradle plugin build should run successfully without any exception.

Current Behavior

When using project.tasks.withType() { } in gradle plugin build is throwing Concurrent Modification Exception. Seems fix for this is already done in 4.9RC1.

#5587

Can we get this fix imported in 4.8.1 as well?

@oehme
Copy link
Contributor

oehme commented Jun 17, 2018

@big-guy Can you backport the fix to 4.8.1?

@lacasseio
Copy link
Contributor

We will backport the fix from this PR.

@donat
Copy link
Member

donat commented Jun 19, 2018

@lacasseio It seems that the changes are now present on the release branch. Can we close this issue?

@lacasseio
Copy link
Contributor

My bad, I forgot to close this issue.

@donat donat changed the title Using project.tasks.withType sometimes leads to Concurrent Modification Exception. Using project.tasks.withType sometimes leads to ConcurrentModificationException Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants