Bug 24406

Summary: AST: Resolve on method invocation
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Martin Aeschlimann CLA 2002-10-04 13:51:23 EDT
20021001
It's a again a resolving on AST with problems isssue. (I know that the AST is 
not designed for it, but I'm hoping...)

private void foo() {
}
private static void goo() {
  foo();
}
Has the problem that foo() should be static. I have the node of foo: 
Unfortunatly with a null binding.

If the reference is A.foo, the binding is there.
Comment 1 Olivier Thomann CLA 2002-10-04 14:31:34 EDT
In this case I can retrieve the binding for foo, because the declaring class of
the problem binding is known. So I can try to fix this one. I will run all
jdt/ui tests prior to release.
Comment 2 Olivier Thomann CLA 2002-10-04 15:19:04 EDT
Fixed and released in 2.1 stream.