Bug 12380

Summary: AST/DOM: resolveTypeBinding() on the second operand of a instanceof expression return null
Product: [Eclipse Project] JDT Reporter: Luc Bourlier <eclipse>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 2.0 M5   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Luc Bourlier CLA 2002-03-27 14:51:49 EST
with the following code, the call of resolveTypeBinding() on the node Name which
correspond to "java.io.Serializable" return null.

class foo {
  boolean bar() {
    return "abc" instanceof java.io.Serializable;
  }
}
Comment 1 Olivier Thomann CLA 2002-03-27 16:40:01 EST
Reproduced. I am working on it.
Comment 2 Olivier Thomann CLA 2002-03-27 17:09:26 EST
Regression tests added.
Fixed and released in HEAD.