'illegal reflective access operation' warning still there

I still get that ‘illegal reflective access operation’ warning when calling the Kotlin compiler from the command line (I am following instructions given in Kotlin command-line compiler | Kotlin). The jar file is produced OK, but I wonder why that warning is still there. In https://youtrack.jetbrains.com/issue/KT-19051 it was reported four years ago that this kind of problem has been resolved.

2 Likes

Interesting question.

I’m seeing those warnings on recent Kotlin 1.4 anywhere, I wonder if this is expected or not.

1 Like