// PROBLEM: none fun test() { val j = JavaClassOverridingKotlinClass() with(j) { getX() } } open class OpenKotlinClass { private var x: Int = 0 open fun getX(): Int { return x } open fun setX(x: Int) { this.x = x } }