[ 
https://issues.apache.org/jira/browse/GROOVY-9395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King closed GROOVY-9395.
-----------------------------

> Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils
> ---------------------------------------------------------------------------
>
>                 Key: GROOVY-9395
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9395
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-runtime
>    Affects Versions: 3.0.0
>            Reporter: Sergey Kravchenko
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 3.0.1
>
>
> Groovy version 3.0.0
> JDK: openjdk version "13.0.2" 2020-01-15 (BellSoft)
> Code:
> {code:java}
> ProcessBuilder pb = new ProcessBuilder(["cmd", "/c", "dir"])
> Process pr = pb.start()
> pr.getInputStream()
> {code}
> Warning in console:
> {code}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.codehaus.groovy.reflection.ReflectionUtils 
> (file:/........../groovy-3.0.0.jar) to method 
> java.lang.ProcessImpl.getInputStream()
> WARNING: Please consider reporting this to the maintainers of 
> org.codehaus.groovy.reflection.ReflectionUtils
> 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
> {code}
>  
> In groovy version 3.0.0-rc-3 - all ok (no warn message)



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

Reply via email to