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

Summary: Module system support for API+impl modules is poor
Product: platform Reporter: Petr Nejedly <pnejedly>
Component: Module SystemAssignee: Jaroslav Tulach <jtulach>
Status: CLOSED DUPLICATE    
Severity: blocker CC: jglick
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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