Summary: | ModelDescriptorRegistry#internalGetModel(IFile) throws ConcurrentModificationException | ||
---|---|---|---|
Product: | [Automotive] Sphinx | Reporter: | Martin Hentschel <martin.hentschel> |
Component: | Core | Assignee: | Project Inbox <sphinx-inbox> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | balazs.grill |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 10 | ||
Whiteboard: |
Description
Martin Hentschel
2018-02-13 04:28:27 EST
The following methods should be adjusted as well: - ModelDescriptorRegistry#internalGetModel(Resource) - ModelDescriptorRegistry#getOldModel(IFile) - ModelDescriptorRegistry#getOldModel(Resource) - ModelDescriptorRegistry#internalGetModel(IResource, IMetaModelDescriptor) - ModelDescriptorRegistry#getModels(IProject) - ModelDescriptorRegistry#getModels(IWorkspaceRoot) - ModelDescriptorRegistry#getAllModels(IMetaModelDescriptor) => Return unmodifiable copy so that concurrent access is possible Change the visibility from ModelDescriptorRegistry#modelDescriptors from protected to private to ensure that nobody else iterates over the sets, thus deadlocks can hopefully be excluded. Closed stale issue before migration |