Bug 118430 Search looking in system libs even though told not too
Build 3.2m3 When searching for declaration of "wait*" methods in working set: Jdtcore+test projects, it finds matches inside system JARs, but the checkbox "Search the JRE system libraries" was deselected. The working set "Jdtcore+tests" contains the JDT/Core projects (including test ones). Amongst the unexpected matches was: Object#wait()
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
Button button= new Button(result, SWT.RADIO);
			button.setText(fLimitToText[i]);
			fLimitTo[i]= button;
			button.setSelection(i == REFERENCES);
			button.addSelectionListener(listener);
			button.setLayoutData(new GridData());
		}
		
		return result;		
	}	
	
	private void initSelections() {
		ISelection sel= getContainer().getSelection();
		SearchPatternData initData= null;
		if (sel instanceof IStructuredSelection) {
			initData= tryStructuredSelection((IStructuredSelection) sel);
		} else if (sel instanceof ITextSelection) {
			IEditorPart activePart= getActiveEditor();
			if (activePart instanceof JavaEditor) {
				try {
					IJavaElement[] elements= SelectionConverter.codeResolve((JavaEditor) activePart);
					if (elements != null && elements.length > 0) {
						initData= determineInitValuesFrom(elements[0]);
					}
				} catch (JavaModelException e) {
					
				}
			}
			if (initData == null) {
				initData= trySimpleTextSelection((ITextSelection) sel);