### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: search/org/eclipse/jdt/internal/core/search/matching/JavaSearchPattern.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/JavaSearchPattern.java,v retrieving revision 1.29 diff -u -r1.29 JavaSearchPattern.java --- search/org/eclipse/jdt/internal/core/search/matching/JavaSearchPattern.java 5 Dec 2007 12:43:25 -0000 1.29 +++ search/org/eclipse/jdt/internal/core/search/matching/JavaSearchPattern.java 7 Dec 2007 14:13:49 -0000 @@ -191,42 +191,42 @@ * and type parameters for non-generic ones. */ char[][] extractMethodArguments(IMethod method) { - String[] argumentsSignatures = null; - BindingKey key; - if (method.isResolved() && (key = new BindingKey(method.getKey())).isParameterizedMethod()) { - argumentsSignatures = key.getTypeArguments(); - } else { - try { - ITypeParameter[] parameters = method.getTypeParameters(); - if (parameters != null) { - int length = parameters.length; - if (length > 0) { - char[][] arguments = new char[length][]; - for (int i=0; i 0) { + char[][] methodArguments = new char[length][]; + for (int i=0; i 0) { - char[][] methodArguments = new char[length][]; - for (int i=0; i 0) { + char[][] arguments = new char[length][]; + for (int i=0; i typeParameters.length) { - System.arraycopy(typeParameters, 0, typeParameters = new char[typeParameters.length+10][][], 0, ptr); - } - IType parentType = (IType) parent; - parameters = parentType.getTypeParameters(); - if (parameters !=null) { - int length = parameters.length; - if (length > 0) { - hasParameters = true; - typeParameters[ptr] = new char[length][]; - for (int i=0; i typeParameters.length) { + System.arraycopy(typeParameters, 0, typeParameters = new char[typeParameters.length+10][][], 0, ptr); + } + IType parentType = (IType) parent; + parameters = parentType.getTypeParameters(); + if (parameters !=null) { + int length = parameters.length; + if (length > 0) { + hasParameters = true; + typeParameters[ptr] = new char[length][]; + for (int i=0; iWhat's new in this drop

Problem Reports Fixed

-211781 +209993 +[1.5][search] Generic search does not work properly while using BindingKey +
209993 +[1.5][search] Generic search does not work properly while using BindingKey +
211781 [search] clarify 'ALLOCATION_EXPRESSION_TYPE_REFERENCE'
211779 [search] better name for SUPERTYPE_TYPE_REFERENCE?