Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
21de67cac1bef9259daa407b68a12e178923aef3
/
.
/
compiler
/
testData
/
codegen
/
box
/
synchronized
/
nestedSameObject.kt
blob: c48210df13fa1b92528bb3ab15e20a176c7cbc1c [
file
]
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// WITH_RUNTIME
fun box
():
String
{
val obj
=
""
as
java
.
lang
.
Object
synchronized
(
obj
)
{
synchronized
(
obj
)
{
obj
.
wait
(
1
)
}
}
return
"OK"
}