Kotlin / kotlin-interactive-shell

Kotlin Language Interactive Shell
Apache License 2.0
590 stars 36 forks source link

No autocompletion, illegal reflective access warning #89

Closed doneill closed 2 years ago

doneill commented 3 years ago

Does it require Java 8?

Installed with brew install ki

ki version: ki 0.3.3_1 already installed java version: openjdk version "11.0.2" 2019-01-15 kotlin version: Kotlin version 1.5.31-release-548 (JRE 11.0.2+9)

Not getting any autocompletion and warnings when

[0] sequenceOf(1, 2, 3).filter {it > 2}.map {it + 1}.toList()
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jetbrains.kotlin.com.intellij.util.ReflectionUtil (file:/usr/local/Cellar/ki/0.3.3_1/libexec/ki-shell.jar) to method java.util.ResourceBundle.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of org.jetbrains.kotlin.com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
res0: List<Int> = [4]
asm0dey commented 2 years ago

We've suppressed this warning, thank you