19 lines
353 B
Plaintext
Vendored
19 lines
353 B
Plaintext
Vendored
LineBreakpoint created at synchronizedBlock.kt:5
|
|
Run Java
|
|
Connected to the target VM
|
|
synchronizedBlock.kt:5
|
|
Compile bytecode for synchronized(Any()) { "foo" }
|
|
Compile bytecode for class Foo {
|
|
@Synchronized
|
|
fun foo(): Int {
|
|
return 5
|
|
}
|
|
}
|
|
|
|
Foo().foo()
|
|
|
|
// RESULT: 5: I
|
|
Disconnected from the target VM
|
|
|
|
Process finished with exit code 0
|