commit | 30e88699b078589b2e8c13b04c52e3fae7798939 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Tue Jun 30 20:32:07 2009 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Tue Jun 30 20:32:07 2009 +0000 |
tree | 56a881f04e57fd302073f791ac7b33bab429ee1e | |
parent | 042cfed9be9be7915e010ace2660ceb66383a5d0 [diff] |
Forgot to implement the declared constructor action. (FELIX-1286) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@789938 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/util/SecureAction.java b/framework/src/main/java/org/apache/felix/framework/util/SecureAction.java index 7f87913..12a2dbf 100644 --- a/framework/src/main/java/org/apache/felix/framework/util/SecureAction.java +++ b/framework/src/main/java/org/apache/felix/framework/util/SecureAction.java
@@ -1190,6 +1190,10 @@ { return ((Class) arg1).getConstructor((Class[]) arg2); } + else if (action == GET_DECLARED_CONSTRUCTOR_ACTION) + { + return ((Class) arg1).getDeclaredConstructor((Class[]) arg2); + } else if (action == GET_METHOD_ACTION) { return ((Class) arg1).getMethod((String) arg2, (Class[]) arg3);