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

Prevent ConcurrentModificationException in PomInstallableUnitStore #3698

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Mar 22, 2024

In some rare cases it is possible that a ConcurrentModificationException occurs in the PomInstallableUnitStore when projects are build in parallel and as part of this artifacts are attached.

This adds a new safeCopy method to retry the copy operation in such case and checks for possible null values because of concurrent removals.

In some rare cases it is possible that a ConcurrentModificationException
occurs in the PomInstallableUnitStore when projects are build in
parallel and as part of this artifacts are attached.

This adds a new safeCopy method to retry the copy operation in such case
and checks for possible null values because of concurrent removals.
@laeubi laeubi added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Mar 22, 2024
@laeubi laeubi enabled auto-merge (rebase) March 22, 2024 11:51
Copy link

Test Results

  591 files    591 suites   3h 49m 51s ⏱️
  407 tests   400 ✅  7 💤 0 ❌
1 221 runs  1 199 ✅ 22 💤 0 ❌

Results for commit 3a2e2e3.

@laeubi laeubi merged commit 27398a5 into eclipse-tycho:main Mar 22, 2024
12 checks passed
@eclipse-tycho-bot
Copy link

💚 All backports created successfully

Status Branch Result
tycho-4.0.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants