Index: compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java,v retrieving revision 1.68 diff -u -r1.68 SourceTypeBinding.java --- compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java 5 Dec 2004 23:45:04 -0000 1.68 +++ compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java 15 Dec 2004 15:27:26 -0000 @@ -1111,6 +1111,13 @@ } if (foundArgProblem) { methodDecl.binding = null; + // nullify type parameter bindings as well as they have a backpointer to the method binding + // (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=81134) + if (typeParameters != null) + for (int i = 0, length = typeParameters.length; i < length; i++) { + TypeParameter parameter = typeParameters[i]; + parameter.binding = null; + } return null; } if (foundReturnTypeProblem)