This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 69735 - Code Completion doesn't work for some Library Wrappers
Summary: Code Completion doesn't work for some Library Wrappers
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on: 70387
Blocks:
  Show dependency tree
 
Reported: 2005-12-02 08:29 UTC by Martin Krauskopf
Modified: 2006-01-16 15:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2005-12-02 08:29:08 UTC
1) Create suite + one suite-component
2) Create LWM from (e.g.?) extra/modules/org-netbeans-graph.jar
3) Make dependency on the LWM from the suite-component

Code Completion doesn't work.

4) Rename org-netbeans-graph.jar to graph.jar and repeat 1-3

Code Completion does work.

Presuambly something doesn't like the nbm-like name in this case.
Comment 1 Martin Krauskopf 2005-12-05 18:12:13 UTC
I'm trying to work on this.
Comment 2 Martin Krauskopf 2005-12-06 15:42:13 UTC
Finally got it. Very subtle bug in our SourceForBinaryQueryImplementation
implementation. Happen for whatever jar (e.g. log4j) if you use the same code
name base for wrapper as is the name of a wrapped jar. SFBQI will then resolve
library wrapper module's source root for the wrapped jar which is wrong.
Comment 3 Martin Krauskopf 2005-12-07 13:43:24 UTC
Fixed.

Checking in test/unit/queries/SourceForBinaryImplTest.java; 1.5 -> 1.6;
Checking in queries/SourceForBinaryImpl.java; 1.3 -> 1.4;
Comment 4 Jaromir Uhrik 2006-01-16 15:45:23 UTC
Marking this issue as VERIFIED since the issue reporter == issue owner.