Bug 83992 [Markers] Error description column in Problems is empty
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/MarkerAttributeMap.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/MarkerAttributeMap.java index 087a34f..1a1a48b 100644 --- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/MarkerAttributeMap.java +++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/MarkerAttributeMap.java
@@ -267,11 +267,12 @@ Object[] array = elements; if (array == null) return; - for (int i = 0; i < array.length; i++) { + //don't share keys because they are already interned + for (int i = 1; i < array.length; i = i + 2) { Object o = array[i]; if (o instanceof String) array[i] = set.add((String)o); - if (o instanceof IStringPoolParticipant) + else if (o instanceof IStringPoolParticipant) ((IStringPoolParticipant)o).shareStrings(set); } }