Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/377.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 运行Kotlin时,这些非法访问警告是什么?如何阻止它们?_Java_Kotlin - Fatal编程技术网

Java 运行Kotlin时,这些非法访问警告是什么?如何阻止它们?

Java 运行Kotlin时,这些非法访问警告是什么?如何阻止它们?,java,kotlin,Java,Kotlin,我是Kotlin的新手,在运行任何脚本时,终端都会抛出这些警告 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 WARN

我是Kotlin的新手,在运行任何脚本时,终端都会抛出这些警告

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
这些是什么?如何隐藏它们?

我使用的是
Kotlin版本1.4.21-release-351(JRE 15.0.1+9-18)
如果这有帮助

也可以点击本期,请点击

目前,最好的选择是将JAVA_HOME设置为1.8,而不是9+


该警告与Java 9中添加的Java平台模块系统有关。见本问答:
$  ./tube-status.main.kts
Bakerloo    Good Service
Central Good Service
Circle  Minor Delays
District    Part Closure
Hammersmith & City  Minor Delays
Jubilee Good Service
Metropolitan    Minor Delays
Northern    Good Service
Piccadilly  Part Closure
Victoria    Good Service
Waterloo & City Planned Closure