[JIRA] (JENKINS-46724) [JDK9] Illegal reflective access from remoting

1,289 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 8, 2018, 2:22:03 PM8/8/18
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Fixed
 
Jenkins / Bug JENKINS-46724
[JDK9] Illegal reflective access from remoting
Change By: Mark Waite
Status: Resolved Closed
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

batmat@batmat.net (JIRA)

unread,
Nov 30, 2018, 4:12:02 AM11/30/18
to jenkinsc...@googlegroups.com
Baptiste Mathus updated an issue
Change By: Baptiste Mathus
Labels: illegalReflectiveAccess newbie-friendly
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

remik@thefarm51.com (JIRA)

unread,
Aug 26, 2019, 12:37:02 PM8/26/19
to jenkinsc...@googlegroups.com
P4 commented on Bug JENKINS-46724
 
Re: [JDK9] Illegal reflective access from remoting

Hi.

I probably reported to the wrong issue (JENKINS-46631) but this is happening on our environment right now. Any plans for fixation?

 

Jenkins master: Windows Server 2012 R2; JDK 1.8.0_172-b11; Jenkins v2.176.2.

Jenkins slave: Ubuntu 19.04 LTS; openjdk-11-jdk 11.0.4+11-post-Ubuntu-1ubuntu219.04

Node log:

...
[08/26/19 16:06:45] [SSH] Checking java version of java
[08/26/19 16:06:45] [SSH] java -version returned 11.0.4.
[08/26/19 16:06:45] [SSH] Starting sftp client.
[08/26/19 16:06:45] [SSH] Copying latest remoting.jar...
[08/26/19 16:06:45] [SSH] Copied 789,283 bytes.
Expanded the channel window size to 4MB
[08/26/19 16:06:45] [SSH] Starting agent process: cd "/home/jenkins/jenkins" && java -jar remoting.jar -workDir /home/jenkins/jenkins
Aug 26, 2019 4:06:46 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using /home/jenkins/jenkins/remoting as a remoting work directory
Both error and output logs will be printed to /home/jenkins/jenkins/remoting
<===[JENKINS REMOTING CAPACITY]===>channel started
Remoting version: 3.29
This is a Unix agent
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jenkins.slaves.StandardOutputSwapper$ChannelSwapper to constructor java.io.FileDescriptor(int)
WARNING: Please consider reporting this to the maintainers of jenkins.slaves.StandardOutputSwapper$ChannelSwapper
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
Evacuated stdout
Aug 26, 2019 4:06:52 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.envinject.EnvInjectComputerListener$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[StartupTrigger] - Scanning jobs for node node-linux
Agent successfully connected and online

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 26, 2019, 1:30:03 PM8/26/19
to jenkinsc...@googlegroups.com

Please don't use closed bug reports to ask additional questions P4. The users mailing list will generally provide better results than asking a question on a closed bug report.

In this specific case, the message is a warning. There is no active project to remove those warnings. It may be a part of Hacktoberfest 2019 just as it was part of Hacktoberfest 2018. You're welcome to begin submitting pull requests to resolve those messages. This type of problem was mentioned in the "Running Jenkins with Java 9 & 10" blog post and in the Hacktoberfest 2018 announcement. Some of the places that may need to be addressed are listed in GitHub.

Reply all
Reply to author
Forward
0 new messages