[
https://issues.apache.org/jira/browse/FELIX-5718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209860#comment-16209860
]
Neil Bartlett commented on FELIX-5718:
--------------------------------------
Hi Karl, there may be some issues with that code running against GA Java 9. It
was written for an early Jigsaw beta. In particular I know that
class.getModule().getLayer() will return null when the module is unnamed and in
the boot layer. In that case you will have to use ModuleLayer.boot().
> Autodetect modules available
> ----------------------------
>
> Key: FELIX-5718
> URL: https://issues.apache.org/jira/browse/FELIX-5718
> Project: Felix
> Issue Type: Sub-task
> Components: Framework
> Affects Versions: framework-5.6.8
> Reporter: Karl Pauls
> Assignee: Karl Pauls
> Fix For: framework-5.6.10
>
>
> Following [~nbartlett]'s lead (e.g., [0]) it looks like what we have todo is
> to detect modules that are available and provide a way to expose them via the
> system bundle.
> [0]
> https://github.com/njbartlett/osgi_jigsaw/blob/master/nbartlett-jigsaw-osgi/src/nbartlett.jigsaw_osgi/nbartlett/osgi_jigsaw/Main.java
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)