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:


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 So we can see these optimizations in Kotlin 1.5.