Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
Description
Groovy version 3.0.0
JDK: openjdk version "13.0.2" 2020-01-15 (BellSoft)
Code:
ProcessBuilder pb = new ProcessBuilder(["cmd", "/c", "dir"]) Process pr = pb.start() pr.getInputStream()
Warning in console:
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
In groovy version 3.0.0-rc-3 - all ok (no warn message)