Generated classfiles are empty at try.kotlinlang.org

Hello,

at try.kotlinlang.org when I run Kotlin code and select JavaScript runtime - I am able to see JS sources in “Generated JavaScript code”. But if I select JVM runtime - I see empty tab “Generated classfiles”.

Just in case: I am running it in Chrome 58.0.3029.110 (64-bit) on OS X.

Any ideas why?

P.S. Please, let me know if it’s not a proper place for asking such questions.

I confirm I see empty tab too.

Seems this problem is already reported as https://youtrack.jetbrains.com/issue/KT-16582

Thanks for the link to the issue. I have added my comments & examples there as well.

The Kotlin compiler doesn’t generate Java source code. It’s possible to decompile Kotlin-generated bytecode to Java, and this sometimes works reasonably well and sometimes gives completely misleading results. Therefore, we have no plans to show any Java source code produced from Kotlin code in the Web demo.

AFAIK, nobody in this thread asked for that.

I suggest showing the generated bytecode in textual form instead, as it is shown in ‘Kotlin Bytecode’ window in IDEA.