Dmitry Kandalov
04/09/2017, 3:35 PMkotlin-compiler.jar
. The problem is that the jar contains part of IJ API, in particular com.intellij.openapi.application.ApplicationManager
. So at runtime there are two sets of openapi classes namespaced by classloader. My plugin sees classes from kotlin-compiler.jar
which are not initialised, e.g. ApplicationManager.getApplication()
is null
. Does anyone know what is the proper workaround?kotlin-compiler-embeddable
.