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 180429

Summary: CC offers classes from non exported packages
Product: platform Reporter: Tomas Danek <musilt2>
Component: NetigsoAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jglick, mkleint
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Tomas Danek 2010-02-08 06:37:40 UTC
Product Version: NetBeans IDE Dev (Build 201002080200)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.6.2 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/tomas/.netbeans/dev
----------
- created standalone osgi bundle (see issue 180427) with public and private packages
- added Export-packages tag to its jar manifest.mf to workaround issue 180427
- created suite, created osgi bundle o1 in it, added cluster with this single standalone jar
- added dependency in o1 to standalone
- code completion in o1 classes offers also non-exported package from standalone, which is wrong and makes suite uncompilable.
Comment 1 Jaroslav Tulach 2010-02-08 07:00:08 UTC
Is not this also broken for regular modules?
Comment 2 Jesse Glick 2010-02-08 08:45:40 UTC
Right, it is impossible to implement this currently. jlahoda is working on an API for it.

*** This bug has been marked as a duplicate of bug 170231 ***