Community
Participate
Working Groups
BETA_JAVA7 class C1 { } interface I1 { } public class X1<T1 extends C1 & I1> { <U extends C1 & I1> X1<U> getX() { return null; } X1<?> f2 = getX(); } 1) Click on getX() -> Introduce parameter Object... 2) OK with default values -> Error: 'Bound Mismatch' : The type U is not a valid substitute for the bounded parameter <T1 extends C1 & I1> of the type X1<T1> On continue however, the refactoring succeeds without any error.
hmm... I don't see any diamond in the code snippet. This is a valid 1.5 code and nothing new in 1.7.
See bug 99931.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.