Does Kotlin take advantage of the bytecode optimizations from newer JVM versions like 11 and 13?

I’ve read some posts saying you can use Kotlin with newer Java versions but that there won’t really be an advantage in doing so but the posts saying that were pretty old so I just wanted to know if that’s still true or if there is an advantage in using Kotlin with newer Java versions.

Edit: I figured it out myself by asking Reddit and opened an issue on YouTrack here’s the link:
https://youtrack.jetbrains.com/issue/KT-35625

3 Likes

There was also an interesting talk in this area at KotlinConf 2019 by Jake Wharton called ‘What’s New in Java 19: The end of Kotlin?

3 Likes

https://reddit.com/r/Kotlin/comments/ee8w45/_/fbttcuh/?context=1 So we can see these optimizations in Kotlin 1.5.