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 51e4238 commit 65c2c9aCopy full SHA for 65c2c9a
kotlinx-coroutines-core/jvm/test/TestSecurityManager.kt
@@ -5,7 +5,7 @@ import java.security.Permission
5
@Suppress("unused")
6
class TestSecurityManager : SecurityManager() {
7
override fun checkPropertyAccess(key: String?) {
8
- if (key?.startsWith("kotlinx.") == true)
+ if (key?.startsWith("kotlinx.") == true && key != "kotlinx.coroutines.parallelism.compensation")
9
throw SecurityException("'$key' property is not allowed")
10
}
11
0 commit comments