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
1515import java.security.PrivilegedAction
1616import java.security.ProtectionDomain
1717import java.security.cert.Certificate
18+ import java.util.PropertyPermission
1819
1920internal fun permissions (block : SimplePolicy .() -> Unit ) {
2021 val policy = Policy .getPolicy()
@@ -56,6 +57,7 @@ internal fun <T> sandbox(file: URI, block: () -> T): T {
5657 RuntimePermission (" accessClassInPackage.*" ),
5758 RuntimePermission (" getClassLoader" ),
5859 RuntimePermission (" reflectionFactoryAccess" ),
60+ PropertyPermission (" org.mockito.internal.*" , " read,write" ),
5961 ReflectPermission (" *" ),
6062 )
6163 if (Files .exists(path)) {
You can’t perform that action at this time.
0 commit comments