Summary: | [compiler] Improve switch fault-tolerance | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.2 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Philipe Mulet
2005-09-06 09:35:57 EDT
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 |