Groovy - WARNING: An illegal reflective access operation has occurred

前端 未结 7 2113
时光取名叫无心
时光取名叫无心 2021-02-05 02:20

I am pretty much new to java and groovy. I have installed groovy 3.0 on my windows 10 laptop (64 bit) and when tried to run groovy getting following warning:

&g         


        
7条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-05 03:04

    To disable the warnings you can pass --add-opens to the JVM, see details here. Unfortunately Groovy requires a lot of modules/packages to be opened, see this (currently reverted) commit (source). Just tested these with AdoptOpenJDK 11.

提交回复
热议问题