Hi. As soon as I start kotlinc (installed by sdkma...
# scripting
j
Hi. As soon as I start kotlinc (installed by sdkman) I'm greet with warnings I don't know how to get rid of:
Copy code
➜  local git:(develop) ✗ kotlinc
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil to method java.util.ResourceBundle.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of 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
Welcome to Kotlin version 1.4.31 (JRE 15.0.1+9-18)
Type :help for help, :quit for quit
-nowarn
does not change a thing. How do I mute these warnings? I'm running my scripts with
#!/usr/bin/env kotlinc -script
shebang I don't really care if the warnings stays or are solved, I just don't want to see them on the screen
i
https://youtrack.jetbrains.com/issue/KT-43520 unfortunately there is no generic workaround, until the core problem is fixed.
j
thanks!