You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/02/16 10:56:42 UTC

[jira] [Commented] (FELIX-5329) [Framework] Fix Java 8 packages and add Java 9 packages in default.properties

    [ https://issues.apache.org/jira/browse/FELIX-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15869727#comment-15869727 ] 

Guillaume Nodet commented on FELIX-5329:
----------------------------------------

For Java 9, it's not sufficient, but that will allow running with the full jvm.
If the jvm is started with a smaller set of modules, the only way would be to use introspection to gather the list of packages provided by the JVM.
See what Neil has prototyped:
  https://github.com/njbartlett/osgi_jigsaw/blob/master/nbartlett-jigsaw-osgi/src/nbartlett.jigsaw_osgi/nbartlett/osgi_jigsaw/Main.java

> [Framework] Fix Java 8 packages and add Java 9 packages in default.properties
> -----------------------------------------------------------------------------
>
>                 Key: FELIX-5329
>                 URL: https://issues.apache.org/jira/browse/FELIX-5329
>             Project: Felix
>          Issue Type: New Feature
>          Components: Framework
>    Affects Versions: framework-5.4.0
>            Reporter: Richard S. Hall
>            Assignee: Karl Pauls
>            Priority: Minor
>             Fix For: framework-5.6.2
>
>         Attachments: uses_java8.bnd
>
>
> People are starting to experiment with Java 9, but I don't believe we've created a Java 9 package definition yet in default.properties so that the system bundle knows what to export.
> I can't remember how we did this previously, but I think we used bnd to analyze and come up with the packages and their "uses" constraints.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)