commit | 1bce79b74bb51fd100a04bb2c0157be480e60853 | [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 | fa00e22fc723e71341746307db44750abcd7a363 [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(