Bug 122731 [build path] Variable value not updated in source tabe
Version: 3.2.0 Build id: I20060103-0800 Open projects build path property page, library tab. Add folder variable MY_VAR. Add folder variable MY_VAR. Edit path from one of the two variable entries. Only the edited one is updated, the other one remains unchanged. Close the properties by clicking ok and reopen it. Now both variables are referencing the same folder.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
attrib.getParent().setAttribute(key, value);
				selElements.remove(i);
				
				if (attrib.getParent().getParentContainer() instanceof CPListElement) { 
					CPListElement containerEntry= attrib.getParent();
					HashSet changedAttributes= (HashSet) containerEntriesToUpdate.get(containerEntry);
					if (changedAttributes == null) {
						changedAttributes= new HashSet();
						containerEntriesToUpdate.put(containerEntry, changedAttributes);
					}
					changedAttributes.add(key); 
				}
			}
		}
		if (selElements.isEmpty()) {
			fLibrariesList.refresh();
			fClassPathList.dialogFieldChanged(); 
		} else {
			fLibrariesList.removeElements(selElements);
		}
		for (Iterator iter= containerEntriesToUpdate.entrySet().iterator(); iter.hasNext();) {
			Map.Entry entry= (Entry) iter.next();
			CPListElement curr= (CPListElement) entry.getKey();
			HashSet attribs= (HashSet) entry.getValue();
			String[] changedAttributes= (String[]) attribs.toArray(new String[attribs.size()]);
			IClasspathEntry changedEntry= curr.getClasspathEntry();
			updateContainerEntry(changedEntry, changedAttributes, fCurrJProject, ((CPListElement) curr.getParentContainer()).getPath());
		}
	}