Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2009 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2010 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 612-618
Link Here
|
612 |
ReferenceBinding otherEnclosing = otherParamType.enclosingType(); |
612 |
ReferenceBinding otherEnclosing = otherParamType.enclosingType(); |
613 |
if (otherEnclosing == null) return true; |
613 |
if (otherEnclosing == null) return true; |
614 |
if ((otherEnclosing.tagBits & TagBits.HasDirectWildcard) == 0) { |
614 |
if ((otherEnclosing.tagBits & TagBits.HasDirectWildcard) == 0) { |
615 |
if (enclosing != otherEnclosing) return true; |
615 |
if (enclosing.isProvablyDistinct(otherEnclosing)) return true; // https://bugs.eclipse.org/bugs/show_bug.cgi?id=302919 |
616 |
} else { |
616 |
} else { |
617 |
if (!enclosing.isEquivalentTo(otherParamType.enclosingType())) return true; |
617 |
if (!enclosing.isEquivalentTo(otherParamType.enclosingType())) return true; |
618 |
} |
618 |
} |