Community
Participate
Working Groups
Master: The following program should compile but doesn't: interface I { void foo(); } public class X { <M> void foo() { class M { int f;}; // rightly complain that M is hiding <M> new X() { void foo() { new M().f = 10; // but then treat this M as <M> and complain M cannot be instantiated and that there is no field f } }; } } Inside the anonymous class we bind M to <M> instead of the class M.
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. If you have further information on the current state of the bug, please add it. 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.
Still relevant in 4.11