Community
Participate
Working Groups
Build 3.1 When switch expression cannot be resolved, the case statements are not further resolved. This could be improved.
This may cause some imports to be flagged as unused (if only reference within case statements).
Testcases: public class X { void foo(){ switch(this){ case 0 : Zork z1; } } void bar(){ switch(x){ case 0 : Zork z2; } } } Should also report unbound Zork references.
Added SwitchTest#test010. Made compiler more resilient in SwitchStatement. Fixed
No plan to backport to 3.1 maintenance as only enhancement
Verified for 3.2 M5 using build I20060214-0010