Community
Participate
Working Groups
For the following code, Eclipse report compile error like "ConstDef cannot be resolved ". void test() { int item = 1; class ConstDef { final static int CONST_1 = 0; } switch(item) { case ConstDef.CONST_1: break; } }
Could not reproduce in HEAD with: public class X { void test() { int item = 1; class ConstDef { final static int CONST_1 = 0; } switch (item) { case ConstDef.CONST_1: break; } } } What build are you using?
3.1rc1 doesn't reproduce it. Please reopen once steps to reproduce are available.
reopen as it's not reproducible
Cannot reproduce either with 3.1 RC2