Don't generate delegation to jvm8 default methods
This commit is contained in:
Vendored
+7
-9
@@ -11,13 +11,11 @@ interface Test2 : Test {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
// TODO: enable this test once the required behavior is specified
|
||||
// try {
|
||||
// Test2::class.java.getDeclaredMethod("test")
|
||||
// }
|
||||
// catch (e: NoSuchMethodException) {
|
||||
// return "OK"
|
||||
// }
|
||||
// return "fail"
|
||||
return "OK"
|
||||
try {
|
||||
Test2::class.java.getDeclaredMethod("test")
|
||||
}
|
||||
catch (e: NoSuchMethodException) {
|
||||
return "OK"
|
||||
}
|
||||
return "fail"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user