Bug 73769 [Dialogs] Open Resource dialog has OK enabled when entry invalid
3.0.1 RC2 - Ctrl+Shift+R - type: WorkbenchWino (note the missing d) and hit Enter - the dialog is dismissed with no action Should disable OK if there is no match.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceListSelectionDialog.java
}
        if (match)
            return high;
        else
            return -1;
    }
    /**
     */
    private void gatherResources() {
        String oldPattern = patternString;
        patternString = adjustPattern();
        if (patternString.equals(oldPattern))
            return;
        updateGatherThread.stop = true;
        updateGatherThread = new UpdateGatherThread();
        if (patternString.equals("")) { 
            updateGatherThread.start();
            return;
        }
        stringMatcher = new StringMatcher(patternString, true, false);
        if (oldPattern != null && (oldPattern.length() != 0)
                && oldPattern.endsWith("*") && patternString.endsWith("*")) { 
            
            int matchLength = oldPattern.length() - 1;
            if (patternString.regionMatches(0, oldPattern, 0, matchLength)) {
                updateGatherThread.refilter = true;
                updateGatherThread.firstMatch = 0;
                updateGatherThread.lastMatch = descriptorsSize - 1;
                updateGatherThread.start();
                return;