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
}
		}
		if (initData == null) {
			initData= getDefaultInitValues();
		}
		
		fInitialData= initData;
		fJavaElement= initData.getJavaElement();
		fCaseSensitive.setSelection(initData.isCaseSensitive());
		fCaseSensitive.setEnabled(fJavaElement == null);
		
		setSearchFor(initData.getSearchFor());
		setLimitTo(initData.getSearchFor(), initData.getLimitTo());
		fPattern.setText(initData.getPattern());
		updateUseJRE();
	}
	private void updateUseJRE() {
		boolean shouldEnable= mayExcludeJRE();
		if (shouldEnable) {
			fSearchJRE.setSelection(getSearchJRE());
			fSearchJRE.setEnabled(true);
		} else {
			fSearchJRE.setEnabled(false);
			fSearchJRE.setSelection(true);
		}
	}
	private boolean mayExcludeJRE() {
		return getLimitTo() == INDEX_REFERENCES || getLimitTo() == INDEX_ALL;
	}
	private SearchPatternData tryStructuredSelection(IStructuredSelection selection) {