Join Slack
Powered by
It used to be that Java interfaces with default im...
# compiler
r
rocketraman
02/17/2022, 4:51 PM
It used to be that Java interfaces with default implementations were called instead of a delegate -- I thought this was fixed in 1.4? I'm on a project using 1.5.31 and am still seeing that behavior, while my jvm target is 11. Why would that be?
rocketraman
02/17/2022, 4:57 PM
Adding the compiler option
-Xjvm-default=all
does not change the behavior.
u
udalov
02/17/2022, 6:10 PM
It's not fixed yet:
https://youtrack.jetbrains.com/issue/KT-18324
. But we're planning to do it, the first step is at
https://youtrack.jetbrains.com/issue/KT-36902
.
👍 1
3
Views
Open in Slack
Previous
Next