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

Karl Pauls commented on FELIX-5575:
-----------------------------------

Just to make it clear: FELIX-5329 made it so that we should export all 
available java9 packages from the system bundle. The shortcoming there in 
regard to java9 is twofold namely,

1) The uses constraints are taken from the java8 packages plus manually 
compiled from the javadoc - ie., they might not be entirely correct (but they 
should be or at least they are very very close).

2) In Java9, it will be possible to create a subset of the official packages 
for a given application - hence, having one definition of available packages 
will not be good enough anymore. 

In other words, as far as the jdk packages export from the system bundle are 
concerned, this issue would probably need to look into the new tools provided 
with java9 and figure out how to best use them to compile what is actually 
available and maybe calculate the use-constraints accordingly and at which 
points this has to happen.

As Neil points out, there might be other questions this raises - this is just 
describing where FELIX-5329 left off.


> [Framework] Make Apache Felix ready for the upcoming Java SE 9 module system
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-5575
>                 URL: https://issues.apache.org/jira/browse/FELIX-5575
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>            Reporter: Florian Brunner
>
> Make Apache Felix ready for the upcoming Java SE 9 module system.
> According to FELIX-5329 this is not the case yet.
> The sooner this is out the sooner developers can start to test their OSGi 
> applications against Java SE 9.



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

Reply via email to