Generate same delagation structure as in jvm 6 target until new binary compatibility design
We need to make some decision about binary compatibility beetwen targets and semantics, so now old logic is used
This commit is contained in:
Vendored
+8
-7
@@ -11,11 +11,12 @@ interface Test2 : Test {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
try {
|
||||
Test2::class.java.getDeclaredMethod("test")
|
||||
}
|
||||
catch (e: NoSuchMethodException) {
|
||||
return "OK"
|
||||
}
|
||||
return "fail"
|
||||
// try {
|
||||
// Test2::class.java.getDeclaredMethod("test")
|
||||
// }
|
||||
// catch (e: NoSuchMethodException) {
|
||||
// return "OK"
|
||||
// }
|
||||
// return "fail"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user