File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
utbot-instrumentation/src/main/kotlin/org/utbot/instrumentation/process Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import java.security.Policy
15
15
import java.security.PrivilegedAction
16
16
import java.security.ProtectionDomain
17
17
import java.security.cert.Certificate
18
+ import java.util.PropertyPermission
18
19
19
20
internal fun permissions (block : SimplePolicy .() -> Unit ) {
20
21
val policy = Policy .getPolicy()
@@ -56,6 +57,7 @@ internal fun <T> sandbox(file: URI, block: () -> T): T {
56
57
RuntimePermission (" accessClassInPackage.*" ),
57
58
RuntimePermission (" getClassLoader" ),
58
59
RuntimePermission (" reflectionFactoryAccess" ),
60
+ PropertyPermission (" org.mockito.internal.*" , " read,write" ),
59
61
ReflectPermission (" *" ),
60
62
)
61
63
if (Files .exists(path)) {
You can’t perform that action at this time.
0 commit comments