I am playing around with the compiler (`K2JVMCompi...
# announcements
t
I am playing around with the compiler (
K2JVMCompiler
) and noticed that I can compile files using the
java.*
packages even if the option
-no-jdk
is used. How can that happen? Surprisingly it works if the host project JDK is version 9 but not with version 8, even though it shouldn't make a difference since the compiler doesn't have access to the host process' classpath (and doesn't log loading any jdk modules as it normally would)
a
Can you please repost this to #C7L3JB43G or just create an issue at http://kotl.in/issue
t
I'm not sure that it's an internal bug, maybe I'm just calling it wrong since all this stuff is completely undocumented. I was able to narrow it down to my call to kapt