We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0b0588 commit 1d2a2cbCopy full SHA for 1d2a2cb
utbot-instrumentation/src/main/kotlin/org/utbot/instrumentation/process/Security.kt
@@ -52,11 +52,7 @@ internal fun <T> sandbox(block: () -> T): T {
52
internal fun <T> sandbox(file: URI, block: () -> T): T {
53
val path = Paths.get(file)
54
val perms = mutableListOf<Permission>(
55
- RuntimePermission("accessDeclaredMembers"),
56
- RuntimePermission("getProtectionDomain"),
57
- RuntimePermission("accessClassInPackage.*"),
58
- RuntimePermission("getClassLoader"),
59
- RuntimePermission("reflectionFactoryAccess"),
+ RuntimePermission("*"),
60
PropertyPermission("org.mockito.internal.*", "read,write"),
61
ReflectPermission("*"),
62
)
0 commit comments