Permalink
Browse files

FELIX-3610: Fix problem with setting protection domain

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1366177 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent b6d7368 commit f1ecea6d4cd06c0897922ac264634956d8a93efa @gnodet gnodet committed Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/src/main/java/org/apache/felix/framework/Felix.java
View
2 framework/src/main/java/org/apache/felix/framework/Felix.java
@@ -848,7 +848,7 @@ void setBundleProtectionDomain(BundleImpl bundleImpl, BundleRevisionImpl revisio
if ((sp != null) && (System.getSecurityManager() != null))
{
sp.checkBundle(bundleImpl);
- Map signers = (Map) sp.getSignerMatcher(this, Bundle.SIGNERS_TRUSTED);
+ Map signers = (Map) sp.getSignerMatcher(bundleImpl, Bundle.SIGNERS_TRUSTED);
certificates = signers.keySet().toArray(new java.security.cert.Certificate[0]);
}
revisionImpl.setProtectionDomain(

0 comments on commit f1ecea6

Please sign in to comment.