Test: make secure mock setup work with ibm jdk
This commit is contained in:
parent
e96722d91c
commit
fa77d4d885
|
@ -24,6 +24,8 @@
|
||||||
grant codeBase "${codebase.securemock-1.2.jar}" {
|
grant codeBase "${codebase.securemock-1.2.jar}" {
|
||||||
// needed to access ReflectionFactory (see below)
|
// needed to access ReflectionFactory (see below)
|
||||||
permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
|
||||||
|
// needed for reflection in ibm jdk
|
||||||
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
|
||||||
// needed to support creation of mocks
|
// needed to support creation of mocks
|
||||||
permission java.lang.RuntimePermission "reflectionFactoryAccess";
|
permission java.lang.RuntimePermission "reflectionFactoryAccess";
|
||||||
// needed for spy interception, etc
|
// needed for spy interception, etc
|
||||||
|
|
Loading…
Reference in New Issue