With the recent 1.8.0 release of Kotlin,
I create a Kotlin JSR223 Scripting Engine from a Java application with:
kotlinEngine = new ScriptEngineManager().getEngineByExtension(“main.kts”);
The engine is created, i.e. it is not null.
However, when I try to evaluate statements I get the following error:
ERROR Unable to initialize repl compiler:
DEBUG Using JVM IR backend
WARNING Using new faster version of JAR FS: it should make your build faster, but the new implementation is experimental
ERROR @NotNull method org/jetbrains/kotlin/config/CompilerConfiguration.getNotNull must not return null:
What happens?