Bug 49204 - Incorrect position in EmptyStatement node
Summary: Incorrect position in EmptyStatement node
Status: RESOLVED DUPLICATE of bug 46610
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-19 17:41 EST by Kelvin CLA
Modified: 2004-01-05 15:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelvin CLA 2003-12-19 17:41:25 EST
Test Case :

public class Test {

   public void method() {
       if (true) 
          ;   // <--  this one is correct
       else if (true)
          ;  //  <--- this one will visit twice
       else 
          ;   // <---  this one didn't visit
   }
}

I am suing JDT version 2.1.1
build id : 200311030802
Comment 1 Olivier Thomann CLA 2004-01-05 15:58:41 EST
This is a duplicate of bug 46610.
It is fixed in 3.0 stream.

*** This bug has been marked as a duplicate of 46610 ***