Bug 5755 Open Type dialog is missing types
I can't find any of the classes in some of my packages in the Open Type(Ctrl- Shift-T) dialog. They just aren't there... Class files exist for them. 20011106
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/AllTypesSearchEngine.java
if (t instanceof RuntimeException)
				throw (RuntimeException)t;	
			ExceptionHandler.handle(e, "Exception", "Unexpected exception. See log for details.");
		} catch (InterruptedException e) {
		}
		
		return typesFound;	
	}
	
	/**
	 * Search for type in the given search scope.
	 * @param style a combination of <code>IJavaElementSearchConstants</code> flags
	 */		
	public void searchTypes(List typesFound, IJavaSearchScope scope, int style, IProgressMonitor pm) {
		if (TypeCache.canReuse(style, scope)){
			typesFound.addAll(TypeCache.getCachedTypes());
			pm.done();
			return;
		}
		TypeCache.flush();
		TypeCache.setConfiguration(style);
		doSearchTypes(typesFound, scope, style, pm);
		TypeCache.setCachedTypes(createCopy(typesFound));
		TypeCache.registerIfNecessary();
	}
	private static List createCopy(List list) {
		List newList= new ArrayList(list.size());
		newList.addAll(list);
		return newList;
	}