Community
Participate
Working Groups
I200411170800 class Outer<A> { class Inner<B> { } } class User { void m() { Outer<String>.Inner<Integer> in= new Outer<String>().new Inner<Integer>(); } } The ParameterizedType Outer<String>.Inner<Integer> has only bindings for String and Integer. All the other bindings are null. Bindings in the initializer are OK (except for bug 77806).
I can add the binding for the global type Outer<String>.Inner<Integer>, but I don't see how I can get each sub part. I don't have the information in the compiler bindings.
Move to M5, since this is a change that is more subtle than I thought. I am not sure I can complete it in time for M4. Sorry for the delay.
*** Bug 81439 has been marked as a duplicate of this bug. ***
Slightly more nasty, indirect access to member type through subclass: class Outer<A> { class Inner<B> { } } class Outer2<C> extends Outer<C> { } class User { void m() { Outer2<String>.Inner<Integer> in= new Outer2<String>().new Inner<Integer>(); } }
Fixed and released in HEAD. Regression tests added in ASTConverter15Test.test0069, 0070 and 0130.
*** Bug 79696 has been marked as a duplicate of this bug. ***
Verified in I20050215-2300