Skip to content

create threadsafe impl of classpathElements()#50

Merged
jaredstehler merged 1 commit intomasterfrom
js-threadsafe
Nov 24, 2025
Merged

create threadsafe impl of classpathElements()#50
jaredstehler merged 1 commit intomasterfrom
js-threadsafe

Conversation

@jaredstehler
Copy link
Copy Markdown
Contributor

@jaredstehler jaredstehler commented Nov 24, 2025

Fixes error seen when running builds in parallel:

Caused by: java.util.ConcurrentModificationException at
 java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:1024) at
 java.base/java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:1047) at 
 org.apache.maven.project.MavenProject.getRuntimeClasspathElements(MavenProject.java:437) at
 com.hubspot.maven.plugins.slimfast.ArtifactHelper.classpathElements(ArtifactHelper.java:118) at
 com.hubspot.maven.plugins.slimfast.ArtifactHelper.getArtifactPaths(ArtifactHelper.java:68) at
 com.hubspot.maven.plugins.slimfast.CopyJarsMojo.execute(CopyJarsMojo.java:41) at

@jaredstehler jaredstehler merged commit 4056e49 into master Nov 24, 2025
1 check passed
@jaredstehler jaredstehler deleted the js-threadsafe branch November 24, 2025 18:57
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.

1 participant