Skip to content

Fixed bug: ConcurrentModificationException during project evaluation #101

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

Merged
merged 1 commit into from
May 25, 2019
Merged

Fixed bug: ConcurrentModificationException during project evaluation #101

merged 1 commit into from
May 25, 2019

Conversation

olisikh
Copy link
Contributor

@olisikh olisikh commented May 24, 2019

Hi,

Unfortunately I spotted one bug with the version 3.1.0, it's connected to gradle/gradle-native#834

Iterating over tasks.withType(clazz) and modifying it in the meantime somewhere else breaks the project evaluation with java.util.ConcurrentModificationException

It's enough to just remove the .toList() from TaskCollection (please see the changed line in ScoveragePlugin.groovy) and the build will fail (added tests for multi-project build with multiple test source sets)

@maiflai maiflai merged commit 4e29e14 into scoverage:master May 25, 2019
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.

2 participants