Hello everyone! I'm using `kotlin-compiler-embedda...
# compiler
c
Hello everyone! I'm using
kotlin-compiler-embeddable
to build a static code analyzer for Kotlin, and I recently stumbled on an issue while trying to upgrade from
1.6.20
to
1.8.20
: the binding context does not return types for code which contains java stdlib expressions. I tried to find the spot where the java stdlib classes are stored, but didn't see any in any of the jars. Is there a place where I can find them, or is there a specific configuration option I need to turn on with
1.8.20
for the compiler to recognize java stdlib expressions again?
I found out what the issue was. JDK_HOME is not configured automatically in the newer version of the embedded compiler. Setting it fixed my issue