Bug 84358

Summary: [5.0] package binding on type reference
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2005-02-03 13:39:01 EST
20050203

In the following code (with errors) the qualified name 'test2.C' has a package
binding for test. Should be type binding for test2.C

package test1;
public class E {
    public void foo() {
         test2.C<String> c= null;
    }
}

package test2;
class C<T> {
}
Comment 1 Olivier Thomann CLA 2005-02-03 14:45:44 EST
Could not reproduce with latest code.
Added regression test in ASTConverter15Test.test0139.
Reopen if you get it again with next integration build.
Comment 2 Olivier Thomann CLA 2005-02-07 12:15:07 EST
Consequence of bug 81544, there would be no binding for test2.C<String> in this
case.
Do you really need the binding?
Comment 3 Martin Aeschlimann CLA 2005-02-08 04:18:23 EST
I want to offer a quick fix to fix the visibility.
See also my comments in bug 81544