Lines 482-490
Link Here
|
482 |
isFirstBoundTypeVariable = true; |
482 |
isFirstBoundTypeVariable = true; |
483 |
TypeVariableBinding varSuperType = (TypeVariableBinding) superType; |
483 |
TypeVariableBinding varSuperType = (TypeVariableBinding) superType; |
484 |
if (varSuperType.rank >= typeVariable.rank && varSuperType.declaringElement == typeVariable.declaringElement) { |
484 |
if (varSuperType.rank >= typeVariable.rank && varSuperType.declaringElement == typeVariable.declaringElement) { |
485 |
problemReporter().forwardTypeVariableReference(typeParameter, varSuperType); |
485 |
if (compilerOptions().complianceLevel <= ClassFileConstants.JDK1_6) { |
486 |
typeVariable.tagBits |= TagBits.HierarchyHasProblems; |
486 |
problemReporter().forwardTypeVariableReference(typeParameter, varSuperType); |
487 |
break firstBound; // do not keep first bound |
487 |
typeVariable.tagBits |= TagBits.HierarchyHasProblems; |
|
|
488 |
break firstBound; // do not keep first bound |
489 |
} |
488 |
} |
490 |
} |
489 |
break; |
491 |
break; |
490 |
default : |
492 |
default : |