Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357139 - No recovered statement for invalid for loop
Summary: No recovered statement for invalid for loop
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 14:41 EDT by Olivier Thomann CLA
Modified: 2020-03-10 16:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2011-09-08 14:41:05 EDT
When the following code is parsed with statement recovery enabled, there is no recovered statement for the for loop:

int j;
for {}
j = 100;

The parsed tree returns two statements (int j; and j = 100;). There is a problem reported for the invalid for loop, but no corresponding recovered node.
Comment 1 Eclipse Genie CLA 2020-03-10 16:18:09 EDT
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.