Kotlin / kotlin-interactive-shell

Kotlin Language Interactive Shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

W: An illegal reflective access operation has occurred

theapache64 opened this issue · comments

image

Is this expected?

Try using jdk 8

The warning should go away when ki updates its Kotlin compiler to 1.5: https://youtrack.jetbrains.com/issue/KT-43520

The warning should go away when ki updates its Kotlin compiler to 1.5:

is there any way to do this manually?

I will fix it soon. If you use JDK 9+, the best way to walk it around is to use --add-opens:

java --add-opens java.base/java.util=ALL-UNNAMED -jar ${KI_SHELL} $@