You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2021/07/12 23:42:00 UTC

[jira] [Commented] (GROOVY-10165) Illegal reflective access by org.codehaus.groovy.vmplugin.v9.Java9 to method java.util.concurrent.ConcurrentHashMap$CollectionView.toString()

    [ https://issues.apache.org/jira/browse/GROOVY-10165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379467#comment-17379467 ] 

Daniel Sun commented on GROOVY-10165:
-------------------------------------

Could you provide some sample code to reproduce the issue?

> Illegal reflective access by org.codehaus.groovy.vmplugin.v9.Java9  to method java.util.concurrent.ConcurrentHashMap$CollectionView.toString()
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-10165
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10165
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-jdk
>    Affects Versions: 3.0.7
>         Environment: When switching to Java 11, encountered the error.  Running on Windows 10 Pro with Java 11.0.11 JDK and Groovy 3.0.7.
>            Reporter: John Yin
>            Priority: Major
>
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v9.Java9 (jar:file:/C:/development/config_vbes_listener_54/config_vbes_listener/libs/custebalite5-thin-5.4.0.102-SNAPSHOT.jar!/BOOT-INF/lib/groovy-3.0.7.jar!/) to method java.util.concurrent.ConcurrentHashMap$CollectionView.toString()
> An illegal reflective access operation has occurred
> WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v9.Java9
> Illegal reflective access by org.codehaus.groovy.vmplugin.v9.Java9 (jar:file:/C:/development/config_vbes_listener_54/config_vbes_listener/libs/custebalite5-thin-5.4.0.102-SNAPSHOT.jar!/BOOT-INF/lib/groovy-3.0.7.jar!/) to method java.util.concurrent.ConcurrentHashMap$CollectionView.toString()
> Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v9.Java9
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)