-
Bug
-
Resolution: Duplicate
-
Major
-
Windows 10, master Jenkins 2.375.2
Slwave connected via Swarm Client v3.36 and 3.39
Running Jenkins slave i see the following message apprearing
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter to method java.lang.Class.getDeclaredFields0(boolean)
WARNING: Please consider reporting this to the maintainers of org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter
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
- duplicates
-
JENKINS-60891 An illegal reflective access from EnvInject plugin
-
- Open
-
I can confirm this issue on windows agent
Command line:
java -cp "c:\jenkins\agent.jar" hudson.remoting.jnlp.Main -headless -workDir "C:\Jenkins" -url http://%JENKINS_IP%:8080 %AGENT_HASH% %AGENT_NODE%
2.908.v66a_774b_31d93
INFO: Connected
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter to method java.lang.Class.getDeclaredFields0(boolean)
WARNING: Please consider reporting this to the maintainers of org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter
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