commit | f1ecea6d4cd06c0897922ac264634956d8a93efa | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Thu Jul 26 19:56:34 2012 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Thu Jul 26 19:56:34 2012 +0000 |
tree | 1f557f604b3750df2ec85c483e18866bbbbb874b | |
parent | b6d73681ffbe959123f486731a5c66515f1b67fa [diff] |
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
diff --git a/framework/src/main/java/org/apache/felix/framework/Felix.java b/framework/src/main/java/org/apache/felix/framework/Felix.java index 99f5aa5..2e46de6 100644 --- a/framework/src/main/java/org/apache/felix/framework/Felix.java +++ b/framework/src/main/java/org/apache/felix/framework/Felix.java
@@ -848,7 +848,7 @@ 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(