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 957e0d0 commit 49befbaCopy full SHA for 49befba
utbot-instrumentation/src/main/kotlin/org/utbot/instrumentation/process/Security.kt
@@ -64,7 +64,9 @@ fun <T> sandbox(block: () -> T): T {
64
fun <T> sandbox(file: URI, block: () -> T): T {
65
val path = Paths.get(file)
66
val perms = mutableListOf<Permission>(
67
- RuntimePermission("accessDeclaredMembers")
+ RuntimePermission("accessDeclaredMembers"),
68
+ RuntimePermission("getStackWalkerWithClassReference"),
69
+ RuntimePermission("getClassLoader"),
70
)
71
val allCodeSource = CodeSource(null, emptyArray<Certificate>())
72
if (Files.exists(path)) {
0 commit comments