In Kotlin 1.3.30 bytecode targets for JVM versions...
# announcements
e
In Kotlin 1.3.30 bytecode targets for JVM versions 9, 10, 11 and 12 were added https://blog.jetbrains.com/kotlin/2019/04/kotlin-1-3-30-released/ The blog post states that
Note that so far newer versions don’t add any bytecode optimizations or features beyond the ones that exist in lower versions, but that is going to change in the future.
Does this mean that the JVM itself does not have any optimizations or is it only the Kotlin generated bytecode that loses out on these optimizations for those versions?
m
It's only the Kotlin generated bytecode that doesn't use any bytecode features from Java 9 or newer yet.
e
Aha. Is there any public roadmap on when stuff like this might be implemented? Hard to search and find anything about it.
s
you have a typo, that happened in version 1.3.30 and not in version 1.3.50.
m
I don't know the roadmap. But here's the youtrack issue for adding the targets: https://youtrack.jetbrains.com/issue/KT-26240 And here's an issue regarding a bytecode feature from Java 9: https://youtrack.jetbrains.com/issue/KT-21147
🙇 1