You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2011/01/11 11:47:46 UTC
[jira] Commented: (SLING-1925) Add sun.reflect to the default
org.osgi.framework.bootdelegation system property
[ https://issues.apache.org/jira/browse/SLING-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980054#action_12980054 ]
Michael Dürig commented on SLING-1925:
--------------------------------------
While this works and also seems to fix SLING-1895, I think adding an implementation dependency to the sun JVM is not correct. IMO the correct way would be to use a JVM specific fragment bundle for adding such additional boot delegation entries and attach it to the system bundle.
> Add sun.reflect to the default org.osgi.framework.bootdelegation system property
> --------------------------------------------------------------------------------
>
> Key: SLING-1925
> URL: https://issues.apache.org/jira/browse/SLING-1925
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Affects Versions: Launchpad Base 2.2.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Launchpad Base 2.2.2
>
>
> There are known issues with recent Felix Framework versions around loading classes from the sun.reflect package to support Hotspot optimizations. See [1] for example.
> To easily fix these problems, we should add this package to the default setup of the org.osgi.framework.bootdelegation system property. This helps a lot on Sun JVMs but does not hurt at all on non-Sun JVMs.
> [1] http://www.mail-archive.com/users@felix.apache.org/msg07721.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.