Bug 41239 Compile error in JDT JUnit due to SWTUtil [JUnit]
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPreferencePage.java
for (int i= 0; i < packages.length; i++) {
			IJavaElement pkg= (IJavaElement) packages[i];
			String filter= pkg.getElementName();
			if (filter.length() < 1)
				filter= JUnitMessages.getString("JUnitMainTab.label.defaultpackage"); 
			else
				filter += ".*"; 
			fStackFilterContentProvider.addFilter(filter, true);
		}
	}
	private void removeFilters() {
		IStructuredSelection selection= (IStructuredSelection) fFilterViewer.getSelection();
		fStackFilterContentProvider.removeFilters(selection.toArray());
	}
	private void checkAllFilters(boolean check) {
		Object[] filters= fStackFilterContentProvider.getElements(null);
		for (int i= (filters.length - 1); i >= 0; --i)
			 ((Filter) filters[i]).setChecked(check);
		fFilterViewer.setAllChecked(check);
	}
	
	public boolean performOk() {
		IPreferenceStore store= getPreferenceStore();
		store.setValue(JUnitPreferencesConstants.SHOW_ON_ERROR_ONLY, fShowOnErrorCheck.getSelection());
		fStackFilterContentProvider.saveFilters();
		return true;
	}
	protected void performDefaults() {
		setDefaultValues();
		super.performDefaults();