Skip to content

Commit

Permalink
Temporary fix for eclipse-equinox/p2#415
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Dec 17, 2023
1 parent 24a3b7e commit e9676af
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ public IArtifactRequest createMirrorRequest(IArtifactKey key, IArtifactRepositor
@Override
public IArtifactRepository createRepository(URI location, String name, String type, Map<String, String> properties)
throws ProvisionException {
return delegate.createRepository(translate(location), name, type, properties);
synchronized (RemoteArtifactRepositoryManager.class) {
// TODO the sync is required unless
// https://github.com/eclipse-equinox/p2/pull/415 is fixed
return delegate.createRepository(translate(location), name, type, properties);
}
}

@Override
Expand Down

0 comments on commit e9676af

Please sign in to comment.