Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 185977 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/core/internal/registry/RegistryObjectManager.java (+16 lines)
Lines 682-687 Link Here
682
						result.put(extensionIndex, tmp);
682
						result.put(extensionIndex, tmp);
683
				}
683
				}
684
			}
684
			}
685
			else if (object instanceof ExtensionPoint) {
686
				// by now extensions of this extension point have been marked as orphans
687
				Map orphans = getOrphans();
688
				String name = ((ExtensionPoint)object).getUniqueIdentifier();
689
				int[] extensions = (int[]) orphans.get(name);
690
				if (extensions != null) {
691
					for (int j = 0; j < extensions.length; j++) {
692
						Extension tmp = (Extension) basicGetObject(extensions[j], RegistryObjectManager.EXTENSION);
693
						if (tmp == null) // already removed
694
							continue;
695
						Integer extensionIndex = new Integer(extensions[j]);
696
						if (!associatedObjects.containsKey(extensionIndex))
697
							result.put(extensionIndex, tmp);
698
					}
699
				}
700
			}
685
		}
701
		}
686
		associatedObjects.putAll(result);
702
		associatedObjects.putAll(result);
687
	}
703
	}

Return to bug 185977