Community
Participate
Working Groups
3 seperate files fails with The Constructor P2(P.A) is undefined and cannot convert from P2 to P.A. replacing P<V> with P solves the problems interface P<V> { interface A {} } class P2 implements P.A { P2(P.A problem) {} } class P3 { void test() {P.A o = new P2((P.A) null);} }
What build are you using ?
(In reply to comment #1) > What build are you using ? Sorry, latest milestone I20050513-1415 although I've had problems with inner classes when parent class is parameterized ever since the first nightly builds with generic support.
Reproduced when compiling incrementally P3 against binaries for P & P2.
Raw conversion was not properly performed when decoding binary signature. It did not support case of a non generic member of a raw type. Added GenericTypeTest#test683. Fixed
Verified for 3.1 RC2 using build N20050607-0010 +JDT/Core HEAD
Verified with I20050610-0010