Bug 82655 Search dialog does not store more than 6 pattern strings
Using build I200401110800. Perform 6 different java searches in a brand new workspace. Now open search dialog, select Java tab and enter a string to search ("XXXXXXX" for example) and perform the search (whatever kind of search...). Now reopen the dialog and look at previous search. I expect to see "XXXXXXX" in the list but I only see first 6 initial search I've done before. It seems that it was due to fPreviousSearchPatterns list size limitation added in javaSearchPage.writeConfiguration() method... Set as major as after 6 first search, no previous pattern is ever stored in Search dialog.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
SearchPatternData data= getPatternData();
		
		IJavaSearchScope scope= null;
		String scopeDescription= ""; 
		
		boolean includeJRE= getSearchJRE() || !mayExcludeJRE();
		
		switch (getContainer().getSelectedScope()) {
			case ISearchPageContainer.WORKSPACE_SCOPE:
				scopeDescription= SearchMessages.getString("WorkspaceScope"); 
				scope= ReferenceScopeFactory.createWorkspaceScope(includeJRE);
				break;
			case ISearchPageContainer.SELECTION_SCOPE:
				scopeDescription= SearchMessages.getString("SelectionScope"); 
				scope= JavaSearchScopeFactory.getInstance().createJavaSearchScope(getContainer().getSelection(), includeJRE);
				break;
			case ISearchPageContainer.SELECTED_PROJECTS_SCOPE:
				scope= JavaSearchScopeFactory.getInstance().createJavaProjectSearchScope(getContainer().getSelection(), includeJRE);
				IProject[] projects= JavaSearchScopeFactory.getInstance().getProjects(scope);
				if (projects.length >= 1) {
					if (projects.length == 1)
						scopeDescription= SearchMessages.getFormattedString("EnclosingProjectScope", projects[0].getName()); 
					else
						scopeDescription= SearchMessages.getFormattedString("EnclosingProjectsScope", projects[0].getName()); 
				} else 
					scopeDescription= SearchMessages.getFormattedString("EnclosingProjectScope", ""); 
				break;
			case ISearchPageContainer.WORKING_SET_SCOPE:
				IWorkingSet[] workingSets= getContainer().getSelectedWorkingSets();