Index: search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java,v retrieving revision 1.249.2.1 diff -u -r1.249.2.1 MatchLocator.java --- search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java 8 Jul 2005 11:26:41 -0000 1.249.2.1 +++ search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java 8 Jul 2005 15:54:16 -0000 @@ -1113,6 +1113,7 @@ this.nameEnvironment.cleanup(); manager.flushZipFiles(); this.bindings = null; + this.patternLocator.clear(); } } /** @@ -2012,9 +2013,7 @@ // Clear handle cache this.methodHandles = null; - this.bindings.removeKey(this.pattern); this.patternLocator.mustResolve = locatorMustResolve; - this.patternLocator.clear(); } /** * Visit the given field declaration and report the nodes that match exactly the Index: search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java,v retrieving revision 1.56.2.1 diff -u -r1.56.2.1 MethodLocator.java --- search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java 8 Jul 2005 11:26:41 -0000 1.56.2.1 +++ search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java 8 Jul 2005 15:54:16 -0000 @@ -63,7 +63,7 @@ /* * Return whether a type name is in pattern all super declaring types names. */ -private boolean isTypeInSuperDeclaringTypeNames(char[][] typeName) { +boolean isTypeInSuperDeclaringTypeNames(char[][] typeName) { if (allSuperDeclaringTypeNames == null) return false; int length = allSuperDeclaringTypeNames.length; for (int i= 0; i