RefuX opened a new issue, #74:
URL: https://github.com/apache/felix-atomos/issues/74

   I'm trying to reference an automatic module bundle, but can't since it has 
no exports.
   
   If I look at it in Gogo using the `headers` command:
   ```
   Atomos-GeneratedManifest = true
   Automatic-Module-Name = io.github.oshai.kotlinlogging
   Bundle-ManifestVersion = 2
   Bundle-SymbolicName = io.github.oshai.kotlinlogging; 
fragment-attachment:=never
   Bundle-Version = 5.1.0
   Manifest-Version = 1.0
   Require-Bundle = java.base; resolution:=mandatory; visibility:=private
   ```
   
   This makes sense from the ModuleLayer API since it states for a 
ModuleDescriptor:
   `If this module is an automatic module then the set of exports is empty.`
   
   It's a bit confusing since most JPMS information states:
   `An automatic module implicitly exports all its packages`
   
   So any insights on how to use automatic modules will be greatly appreciated. 


-- 
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: dev-unsubscr...@felix.apache.org.apache.org

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

Reply via email to