### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java,v retrieving revision 1.108 diff -u -r1.108 TypeBinding.java --- compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java 19 Feb 2010 10:11:37 -0000 1.108 +++ compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java 17 Jun 2010 06:49:21 -0000 @@ -295,7 +295,7 @@ int nextPosition = 0; do { ReferenceBinding[] itsInterfaces = currentType.superInterfaces(); - if (itsInterfaces != Binding.NO_SUPERINTERFACES) { + if (itsInterfaces != null && itsInterfaces != Binding.NO_SUPERINTERFACES) { if (interfacesToVisit == null) { interfacesToVisit = itsInterfaces; nextPosition = interfacesToVisit.length; @@ -320,7 +320,7 @@ if (currentType.original() == otherType) return currentType; ReferenceBinding[] itsInterfaces = currentType.superInterfaces(); - if (itsInterfaces != Binding.NO_SUPERINTERFACES) { + if (itsInterfaces != null && itsInterfaces != Binding.NO_SUPERINTERFACES) { int itsLength = itsInterfaces.length; if (nextPosition + itsLength >= interfacesToVisit.length) System.arraycopy(interfacesToVisit, 0, interfacesToVisit = new ReferenceBinding[nextPosition + itsLength + 5], 0, nextPosition); #P org.eclipse.jdt.core.tests.compiler