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

Carsten Ziegeler commented on FELIX-6096:
-----------------------------------------

[~cfiehe] What class can not be found? Could you maybe provide the full stack 
trace?
The additional check should not be necessary as the framework is usually doing 
a similar check and if no security is enabled the hasPermission method just 
returns true.


> SCR fails if the Java Runtime Environment does not support permissions
> ----------------------------------------------------------------------
>
>                 Key: FELIX-6096
>                 URL: https://issues.apache.org/jira/browse/FELIX-6096
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-2.1.16
>            Reporter: Christoph Fiehe
>            Priority: Major
>
> SCR fails with a ClassNotFoundException, if the Java Runtime Environment does 
> not support permissions.
> In the method {{checkBundleLocation(String configBundleLocation, Bundle 
> bundle)}} of the class {{RegionConfigurationSupport}} there must be checked, 
> if security is supported by the underlying JRE like it is has been done in 
> {{AbstractComponentManager#hasServiceRegistrationPermissions}} or 
> {{DependencyManager#hasGetPermission}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to