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 - CC offers classes from non exported packages
Summary: CC offers classes from non exported packages
Status: RESOLVED DUPLICATE of bug 170231
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-08 06:37 UTC by Tomas Danek
Modified: 2010-02-08 08:45 UTC (History)
2 users (show)

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 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 ***