Bug 107097 Error dialogs pop up when browsing for a JAR.
Build: 3.2M1 On a workspace containing two Java projects: one open and one closed: 1. Bring up the Java build path property page for the open project. 2. on the Libraries tab, press 'Add JARs...' You will get two error dialogs (per closed project) complaining about the project being not open.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ArchiveFileFilter.java
} else {
			fExcludes= null;
		}
		fRecursive= recusive;
	}
	
	public ArchiveFileFilter(List excludedFiles, boolean recusive) {
		fExcludes= excludedFiles;
		fRecursive= recusive;
	}
	
	/*
	 * @see ViewerFilter#select
	 */
	public boolean select(Viewer viewer, Object parent, Object element) {
		if (element instanceof IFile) {
			if (fExcludes != null && fExcludes.contains(element)) {
				return false;
			}
			return isArchivePath(((IFile)element).getFullPath());
		} else if (element instanceof IContainer) { 
			if (!fRecursive) {
				return true;
			}
			try {
				IResource[] resources= ((IContainer)element).members();
				for (int i= 0; i < resources.length; i++) {
					
					if (select(viewer, parent, resources[i])) {
						return true;