Bug 16120

Summary: SelectionParser build wrong AST for instanceof statement
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 F2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description David Audel CLA 2002-05-16 05:29:21 EDT
public class X {
  void foo(Object o){
    if(o instanceof Y){}
  }
}

if you select 'Y' then the computed AST is :
public class X {
  void foo(Object o) {
  }
}
this AST does not contain a selection node.
Comment 1 David Audel CLA 2002-05-27 11:16:43 EDT

*** This bug has been marked as a duplicate of 14468 ***
Comment 2 Olivier Thomann CLA 2002-06-03 14:25:07 EDT
Verified as this is a duplicate of a verified bug.