Bug 84358 - [5.0] package binding on type reference
Summary: [5.0] package binding on type reference
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-03 13:39 EST by Martin Aeschlimann CLA
Modified: 2005-02-08 04:18 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 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