<https://blog.jetbrains.com/kotlin/2018/06/kotlin-...
# announcements
t
https://blog.jetbrains.com/kotlin/2018/06/kotlin-1-2-50-is-out/
Also note that the compiler flag -Xenable-jvm-default introduced in Kotlin 1.2.40 is no longer supported. Please use -Xjvm-default=enable instead.
Where do I enter that flag in IntelliJ? We use
@JvmDefault
in our project. Since updating to 1.2.50 my build is failing. When I enter that flag in File → Project Structure, Project Settings→ Modules and then in Kotlin, my compile succeeds, but then running my app fails with the message
Copy code
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: -Xjvm-default=enable