| Summary: | AST recovery fails for incomplete char or String literals (wrong node lengths) | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
| Component: | Core | Assignee: | Ayushman Jain <amj87.iitr> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Olivier_Thomann |
| Version: | 3.5 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
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. |
I20080918-0100 AST recovery fails for an incomplete char field declaration (illegal char literal): - Have: package p; @interface CharRecovery { char c= '' } - The FieldDeclaration is OK. - The VariableDeclarationFragment has range [48, 2147483601], which is a (tiny;-) bit too long. - Problem persists if you add a ';' at the end of the field declaration. - Same problem with incomplete string literal, e.g. 'String c= "\";'.