Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357139

Summary: No recovered statement for invalid for loop
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

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.