Summary: | infinite loop in BindingKey when signatures are invalid | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | darin.eclipse, Olivier_Thomann | ||||
Version: | 3.3 | ||||||
Target Milestone: | 3.6 M7 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
David Audel
2007-11-12 07:13:07 EST
This looks like a JCore bug. A main type with the expression also fails to complete. Perhaps the BindingKeyParser is not expecting invalid syntax? There is no specified behavior when the given key is invalid. So I guess in this case, the evaluation should just return false. Created attachment 162425 [details]
Proposed fix + regression test
Released for 3.6M7. Regression test added in: org.eclipse.jdt.core.tests.model.BindingKeyTests#test055 Verified for 3.6M7 using I20100425-2000. |