You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2006/06/08 09:13:29 UTC

[jira] Created: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Modify framework to export proper JRE packages for the execution environment
----------------------------------------------------------------------------

         Key: FELIX-78
         URL: http://issues.apache.org/jira/browse/FELIX-78
     Project: Felix
        Type: Improvement

  Components: Framework  
    Reporter: Richard S. Hall
    Priority: Minor


The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.

The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.

Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Niclas Hedhman (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FELIX-78?page=all ]

Niclas Hedhman updated FELIX-78:
--------------------------------

    Attachment: jre1.3.packages

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.3.packages, jre1.4.packages, jre1.4.packages, jre1.5.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FELIX-78?page=comments#action_12415517 ] 

Richard S. Hall commented on FELIX-78:
--------------------------------------

Could we also get that command to filter out non-packages like "org", "org.omg", or "java" and convert the '/' in the directory names to '.' so we have real package names? Then it would be real sweet!  ;-)

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.4.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FELIX-78?page=comments#action_12415508 ] 

Richard S. Hall commented on FELIX-78:
--------------------------------------

Ok, I just committed some changes that should make it possible to remedy this situation in short order. I stole an idea from how mangen does its configuration properties (thanks Rob!) and use property substitution to achieve selection. I had to modify mangen's approach to work with nested property substitution, though, so this is a little more tricky and might contain some subtle bugs.

At any rate, I have now defined the system packages property like this in config.properties:

    org.osgi.framework.system.packages=org.osgi.framework; version=1.3.0, \
      org.osgi.service.packageadmin; version=1.2.0, \
      org.osgi.service.startlevel; version=1.0.0, \
      org.osgi.service.url; version=1.0.0, \
      ${jre-${java.specification.version}}

I have also defined properties called:

    jre-1.3=...list of packages...
    jre-1.4=...list of packages...
    jre-1.5=...list of packages...

Now when Main.java reads the config.properties file and performs variable substitution, it translates:

    ${jre-${java.specification.version}}

to (assuming we are running on JRE 1.4)

    ${jre-1.4}

Which then gets translated to the property value, which is the list of exported packages for JRE 1.4.

Currently, Marcel gave me a complete set of packages for JRE 1.5, but I still need sets of packages for 1.3 and 1.4, so if someone wants to attach them to this JIRA issue, I will finish this off.

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor

>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Niclas Hedhman (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FELIX-78?page=all ]

Niclas Hedhman updated FELIX-78:
--------------------------------

    Attachment: jre1.4.packages

JRE 1.4 packages

Extracted with 

jar tf /java/jdk1.4/jre/lib/rt.jar | grep -v ^META | grep -v "wav$" | grep -v "css$" | grep -v "dtd$" | grep -v "txt$" | grep -v "res$" | grep -v "png$" | grep -v "gif$" | grep -v ^sun | grep -v ^com | sed 's/\/[A-Za-z0-9$_]*[.]class$//' | sed 's/\/[A-Za-z0-9$_]*[.]properties$//' | sed 's/\/$//' | sort -u >jre1.4.packages

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.4.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Niclas Hedhman (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FELIX-78?page=comments#action_12415516 ] 

Niclas Hedhman commented on FELIX-78:
-------------------------------------

Attached lists of packages for 1.3, 1.4 and 1.5 by extracting the rt.jar, and filtering out the com and sun tlds. 

Note: "java" has not been filtered out.

Additionally, jce.jar and jsse.jar are present in 1.4 and 1.5.
These contains

javax/crypto
javax/crypto/spec

javax/net
javax/net/ssl
javax/security/cert

as well.


> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.4.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Niclas Hedhman (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FELIX-78?page=all ]

Niclas Hedhman updated FELIX-78:
--------------------------------

    Attachment: jre1.3.packages

JRE 1.3 packages

Extracted by 

jar tf /java/jdk1.3/jre/lib/rt.jar | grep -v ^META | grep -v "wav$" | grep -v "css$" | grep -v "dtd$" | grep -v "txt$" | grep -v "res$" | grep -v "png$" | grep -v "gif$" | grep -v ^sun | grep -v ^com | sed 's/\/[A-Za-z0-9$_]*[.]class$//' | sed 's/\/[A-Za-z0-9$_]*[.]properties$//' | sed 's/\/$//' | sort -u >jre1.3.packages

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FELIX-78?page=all ]
     
Richard S. Hall closed FELIX-78:
--------------------------------

    Resolution: Fixed

Excellent. We should keep this command around for JDK 1.6...thanks Niclas. I have committed the new config file with update property definitions.

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.3.packages, jre1.4.packages, jre1.4.packages, jre1.5.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Niclas Hedhman (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FELIX-78?page=all ]

Niclas Hedhman updated FELIX-78:
--------------------------------

    Attachment: jre1.5.packages

Java 5 packages

Extracted with

jar tf /java/jdk1.5/jre/lib/rt.jar | grep -v ^META | grep -v "wav$" | grep -v "css$" | grep -v "dtd$" | grep -v "txt$" | grep -v "res$" | grep -v "png$" | grep -v "gif$" | grep -v ^sun | grep -v ^com | sed 's/\/[A-Za-z0-9$_]*[.]class$//' | sed 's/\/[A-Za-z0-9$_]*[.]properties$//' | sed 's/\/$//' | sort -u >jre1.5.packages

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.4.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Marcel Offermans (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FELIX-78?page=comments#action_12415304 ] 

Marcel Offermans commented on FELIX-78:
---------------------------------------

If you do not export some of the "core" OSGi packages through the system bundle, but install the org.osgi.core bundle to do that you will get all kinds of class cast exceptions (for example when the framework instantiates a bundle activator). To prevent this, I think we should consider always exporting these packages through the system bundle, because the framework won't work very well if we don't.

So basically I'm proposing adding a list of packages that will always be exported through the system bundle, regardless of the property.

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor

>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Niclas Hedhman (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FELIX-78?page=comments#action_12415524 ] 

Niclas Hedhman commented on FELIX-78:
-------------------------------------


jar tf /java/jdk1.3/jre/lib/rt.jar | grep -v /$ | grep -v ^META | grep -v "wav$" | grep -v "css$" | grep -v "dtd$" | grep -v "txt$" | grep -v "res$" | grep -v "png$" | grep -v "gif$" | grep -v ^sun | grep -v ^com | sed 's/\/[A-Za-z0-9$_]*[.]class$//' | sed 's/\/[A-Za-z0-9$_]*[.]properties$//' | sed 's/\/$//' | sed 's/\//./g' | sort -u

will re-run the outputs shortly.


> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.4.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Niclas Hedhman (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FELIX-78?page=all ]

Niclas Hedhman updated FELIX-78:
--------------------------------

    Attachment: jre1.4.packages

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.3.packages, jre1.4.packages, jre1.4.packages, jre1.5.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Niclas Hedhman (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FELIX-78?page=all ]

Niclas Hedhman updated FELIX-78:
--------------------------------

    Attachment: jre1.5.packages

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor
>  Attachments: jre1.3.packages, jre1.3.packages, jre1.4.packages, jre1.4.packages, jre1.5.packages, jre1.5.packages
>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FELIX-78) Modify framework to export proper JRE packages for the execution environment

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FELIX-78?page=comments#action_12415501 ] 

Richard S. Hall commented on FELIX-78:
--------------------------------------

If you recall, the exporting of OSGi packages was previously hard-coded in the system bundle source, but we moved that to the config file when we implemented boot class path delegation because we thought it would be more consistent to have all system bundle exports listed in the config file.

I still believe this is true, so I don't want to revert. If we agree that they should be in the config file, then there is pretty much no way to guarantee that they will always be exported, since the user is free to edit the config file any way she sees fit. However, the default shipping configuration of Felix will definitely properly export them in the config file. 

> Modify framework to export proper JRE packages for the execution environment
> ----------------------------------------------------------------------------
>
>          Key: FELIX-78
>          URL: http://issues.apache.org/jira/browse/FELIX-78
>      Project: Felix
>         Type: Improvement

>   Components: Framework
>     Reporter: Richard S. Hall
>     Priority: Minor

>
> The OSGi specification requires that class path classes are hidden from bundles. To expose classes on the class path, the system bundle can be made to "export" them by adding the packages to the org.osgi.framework.system.packages property in the config.properties file.
> The should create proper value definitions for this property for JDKs 1.3, 1.4, and 1.5 and perhaps define some way in the config.properties file to specify system property guards for enabling/disabling various properties, so that we can add all three values to the config.properties file, but only enable the value corresponding to the appropriate execution platform at run time.
> Of course, this is just one possible suggestion for a solution. Perhaps there is a better one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira