com.intellij.util.reflectionutil对方法java.util.resourcebundle.setparent(java.util.resourcebundle)的非法反射访问

snvhrwxg  于 2021-07-06  发布在  Java
关注(0)|答案(0)|浏览(285)

我在vscode中编写了一些kotlin代码
其中之一是:

fun main() {
println("Hello world")
}

当我运行它时,我得到:

[Running] cd "d:\Coding\Dicoding\" && kotlinc a.kt -include-runtime -d a.jar && java -jar a.jar
Java HotSpot(TM) 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
Hello world

[Done] exited with code=0 in 2.976 seconds

它工作,但我不能隐藏或修复警告,我使用JDK15
我在intellij上没有收到那些警告

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题