Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
framework-4.2.0
-
None
Description
I found this code in org/apache/felix/framework/ExtensionManager.java:
if (!((BundleProtectionDomain) bundle.getProtectionDomain()).impliesDirect(new AllPermission()))
{ throw new SecurityException("Extension Bundles must have AllPermission"); }It's not a problem now, but it can be a problem in some circumastances. I think this check should be done only when sm is present.