summaryrefslogtreecommitdiff
path: root/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/synchronizedBlock.out
blob: 83ea1d1090f052c889b565888bbc68b94189a760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR
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