Skip to content

Fix a ConcurrentModificationException. - #11428

Merged
desruisseaux merged 1 commit into
apache:masterfrom
Geomatys:master
Nov 10, 2025
Merged

desruisseaux merged 1 commit into
apache:masterfrom
Geomatys:master

Conversation

@desruisseaux

@desruisseaux desruisseaux commented Nov 10, 2025 •

Copy link
Copy Markdown
Contributor

The exception was observed in the MCOMPILER-170 integration test of Maven Compiler Plugin, which launches Maven with the -T4 option. Relevant stack trace was:

Caused by: java.util.ConcurrentModificationException
    at java.util.HashMap.computeIfAbsent(HashMap.java:1230)
    at org.apache.maven.impl.DefaultDependencyResolver.moduleCache(DefaultDependencyResolver:98)

This exception occurs with Maven 4.0.0-RC-5 but did not occurred with RC-4, I'm not sure why.

The exception was observed in the integration tests of Maven Compiler Plugin when Maven is executed with the `-T4` option.
@desruisseaux
desruisseaux requested a review from gnodet November 10, 2025 15:53
@desruisseaux desruisseaux added the bug Something isn't working label Nov 10, 2025
@desruisseaux
desruisseaux merged commit f2e9432 into apache:master Nov 10, 2025
@github-actions github-actions Bot added this to the 4.1.0 milestone Nov 10, 2025
desruisseaux added a commit to Geomatys/maven that referenced this pull request Nov 10, 2025
The exception was observed in the integration tests of Maven Compiler Plugin when Maven is executed with the `-T4` option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants