Bug 81333 [GlobalActions] "Open Resource" dialog doesn't filters out class files?
Build 20041214-2000 1. Press ctrl+shift+r to open the "Open Resource" dialog. 2. Type the name of a class file in the workspace (for example, "Hello.class"). 3. The dialog does not show the class file, even though it exists. In my case, I did this with a simple "Hello World" program in the default package. Hello.java and Hello.class were in the same directory, but the dialog could only find Hello.java.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceListSelectionDialog.java
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;
            }
        }
        final ArrayList resources = new ArrayList();
        BusyIndicator.showWhile(getShell().getDisplay(), new Runnable() {
            public void run() {
                getMatchingResources(resources);
                IResource resourcesArray[] = new IResource[resources.size()];
                resources.toArray(resourcesArray);
                initDescriptors(resourcesArray);
            }
        });
        updateGatherThread.firstMatch = 0;
        updateGatherThread.lastMatch = descriptorsSize - 1;
        updateGatherThread.start();