[ https://issues.apache.org/jira/browse/FELIX-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16210087#comment-16210087 ]
Karl Pauls commented on FELIX-5710: ----------------------------------- I made some progress via the sub issues. In a nutshell (and this needs to be documented), I reworked how we define the framework exports for java9 and calculated a new (hopefully more correct) list of exports. This is coupled with a simple "detection" of actually available modules. As a result, we should now export the available packages correctly when started with just "java -jar" or with "java --add-modules java.se.ee -jar" as well as making javafx available depending on whether it is actually there or not. Furthermore, when we get started on a subset of java.se we should correctly expose what is available as well. Finally, this method can actually be extended by users so that if they have additional modules on the module path they can add the definitions as well (using properties). I'll post another comment explaining how to do this soon (which subsequently probably should be added to the documentation). > Improve Java9 support > --------------------- > > Key: FELIX-5710 > URL: https://issues.apache.org/jira/browse/FELIX-5710 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: framework-5.6.8 > Reporter: Karl Pauls > Assignee: Karl Pauls > Fix For: framework-5.6.10 > > > There are a couple of areas where we need to (or at least can) improve things > for better java9 support. This is going to be the umbrella issue (specific > tasks will be created as subtasks). -- This message was sent by Atlassian JIRA (v6.4.14#64029)