Bug 64897 packages view: not updated when project source folders change [browsing]
RC1 - browsing perspective - smoke test scenario... - import junit.zip into the previously not existing folder 'src' -> packages view shows a number of packages src.junit.framework... with errors - go to the project properties, source page - add 'src' as source folder, accept when asked to remove the project root as source folder - press OK -> the error marks in the packages view are removed -> the packages src... are still visible in the packages view -> they are only removed upon a selection change in the "projects" view
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java
if (!root.isArchive() || !root.isExternal())
										list.add(fragment);
								}
							}
							return combineSamePackagesIntoLogialPackages((IPackageFragment[]) list.toArray(new IPackageFragment[list.size()]));
						}
					case IJavaElement.PACKAGE_FRAGMENT_ROOT :
						{
							IPackageFragmentRoot root= (IPackageFragmentRoot) parentElement;
		
							
							fMapToLogicalPackage.clear();
							fMapToPackageFragments.clear();
							IResource resource= root.getUnderlyingResource();
							IPackageFragment[] fragments= new IPackageFragment[0];
							if (root.isArchive()) {
								IJavaElement[] els= root.getChildren();
								fragments= getTopLevelChildrenByElementName(els);
							} else if (resource != null && resource instanceof IFolder) {
								fragments= getTopLevelChildrenByElementName(root.getChildren());
							}
							addFragmentsToMap(fragments);
							return fragments;
						}
					case IJavaElement.PACKAGE_FRAGMENT :
						{
							IPackageFragment packageFragment= (IPackageFragment) parentElement;
							IPackageFragment[] fragments= new IPackageFragment[0];
							IJavaElement parent= packageFragment.getParent();
							if (parent instanceof IPackageFragmentRoot) {