View | Details | Raw Unified | Return to bug 141289
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java (-3 / +4 lines)
Lines 312-320 Link Here
312
	    	return typeVariable().erasure();
312
	    	return typeVariable().erasure();
313
    	}
313
    	}
314
    	// intersection type
314
    	// intersection type
315
    	return this.bound.id == TypeIds.T_JavaLangObject
315
    	return this.bound.erasure();
316
    		? this.otherBounds[0].erasure()
316
//    	return this.bound.id == TypeIds.T_JavaLangObject
317
    		: this.bound.erasure();
317
//    		? this.otherBounds[0].erasure()
318
//    		: this.bound.erasure();
318
    }
319
    }
319
320
320
    /* (non-Javadoc)
321
    /* (non-Javadoc)

Return to bug 141289