Does Kotlin <method delegation> really break whene...
# announcements
Does Kotlin method delegation really break whenever a default implementation is added for a method of the delegated-to Java interface? Suddenly the default implementation instead of the delegate's implementation is called. As far as I can tell, my Kotlin code broke simply by updating to a new JDK version that adds default implementations to existing interfaces.
It’s a language design problem that’s yet to be resolved.
Thanks, voted up. Probably safer not to use this language feature for now.
i have also found the way delegation interops with Java to be disappointing and opted to avoid using it