laeubi commented on PR #581:
URL: https://github.com/apache/commons-parent/pull/581#issuecomment-2612034509

   I just wanted to quote [the 
spec](https://docs.osgi.org/specification/osgi.core/8.0.0/framework.module.html#i3127019)
 might be a good first source for derive some normative things:
   
   > Classes can depend on classes in other packages. For example, when they 
extend classes from another package, or these other classes appear in method 
signatures. **It can therefore be said that a package uses other packages**. 
These inter-package dependencies are modeled with the **uses directive on the 
Export-Package header**.
   
   The most important part is this one here
   
   > Class space consistency can only be ensured if a bundle has only one 
exporter for each package.
   
   That means that omitting them as "they are hard to read" is really worst 
thing one can do as it opens the bundle to all kind of class space 
inconsistencies (and these are **really hard to debug**). A Manifest is not 
meant to be read by users, so one better use some tools if really interested in 
the results.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to