Fix evaluation for static interface methods declared in Java (KT-23585)

This commit is contained in:
Yan Zhulanow
2018-11-27 22:17:10 +09:00
parent 3d7b503cd6
commit 27ea02929a
7 changed files with 92 additions and 9 deletions
@@ -0,0 +1,11 @@
package javaStaticMethods
import forTests.javaContext.JavaClass.JavaStatic
fun main() {
//Breakpoint!
val a = 5
}
// EXPRESSION: JavaStatic.state()
// RESULT: 1: I
@@ -0,0 +1,8 @@
LineBreakpoint created at javaStaticMethods.kt:7
Run Java
Connected to the target VM
javaStaticMethods.kt:7
Compile bytecode for JavaStatic.state()
Disconnected from the target VM
Process finished with exit code 0