File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,7 @@ jvmTest {
177
177
minHeapSize = ' 1g'
178
178
maxHeapSize = ' 1g'
179
179
enableAssertions = true
180
- if (! Idea . active) { // Workaround for KT-42671
181
- systemProperty ' java.security.manager' , ' kotlinx.coroutines.TestSecurityManager'
182
- }
180
+ systemProperty ' java.security.manager' , ' kotlinx.coroutines.TestSecurityManager'
183
181
// 'stress' is required to be able to run all subpackage tests like ":jvmTests --tests "*channels*" -Pstress=true"
184
182
if (! Idea . active && rootProject. properties[' stress' ] == null ) {
185
183
exclude ' **/*StressTest.*'
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ internal object AgentPremain {
21
21
22
22
public var isInstalledStatically = false
23
23
24
- private val enableCreationStackTraces =
24
+ private val enableCreationStackTraces = runCatching {
25
25
System .getProperty(" kotlinx.coroutines.debug.enable.creation.stack.trace" )?.toBoolean()
26
- ? : DebugProbesImpl .enableCreationStackTraces
26
+ }.getOrNull() ? : DebugProbesImpl .enableCreationStackTraces
27
27
28
28
@JvmStatic
29
29
public fun premain (args : String? , instrumentation : Instrumentation ) {
You can’t perform that action at this time.
0 commit comments