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 56600 - Module system support for API+impl modules is poor
Summary: Module system support for API+impl modules is poor
Status: CLOSED DUPLICATE of bug 34699
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 13:12 UTC by Petr Nejedly
Modified: 2008-12-23 08:34 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2005-03-17 13:12:47 UTC
It is not possible to request existence of implementation module directly
from its API module, thus API clients have to declare both depencency on the API
and token dependency (-Requires) on some impl module.
It would be much better it the API module could request presence of its
implementation itself.

E.g. the org.openide.io API clients have to depend on the org.openide.io module
and have to request IOProvider, while it would make more sense to just depend on
org.openide.io module.
The io module shouldn't be enabled without some implementation as it is unusable
otherwise.
Comment 1 Jesse Glick 2005-04-06 19:39:43 UTC

*** This issue has been marked as a duplicate of 34699 ***
Comment 2 Petr Nejedly 2005-04-07 10:52:11 UTC
OK