Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Duplicate
-
JDK 9, Jenkins 2.60.3 as described in my lts-with-plugins docker instance
-
-
3.15
Description
While exploring Jenkins 2.60.3 on Oracle Java 9 build 181 (pre-release), it reports illegal access exceptions and warns that a future release of Java 9 will forbid illegal access.
This was from a Windows agent using JDK 9 that was started from a batch file. The batch file included the line java -jar slave.jar -jnlpUrl http://jenkins.markwaite.net:8080/computer/cb-pc/slave-agent.jnlp -secret my-elided-secret. The same message does not appear when the Windows agent is running JDK 8, whether the master is running JDK 8 or JDK 9.
Stack trace shows:
INFO: Remote identity confirmed: 23:d0:c4:ac:00:ef:27:66:df:6c:b7:dd:ba:05:6f:6e Sep 04, 2017 6:59:21 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader (file:/C:/J/slave.jar) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String) WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader 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
Attachments
Issue Links
- duplicates
-
JENKINS-46724 [JDK9] Illegal reflective access from remoting
-
- Closed
-
- is duplicated by
-
JENKINS-65582 Illegal reflective access by jenkins.slaves.StandardOutputSwapper$ChannelSwapper to constructor java.io.FileDescriptor(int)
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link |
|
Description |
While exploring Jenkins 2.60.3 on Oracle Java 9 build 181 (pre-release), it reports illegal access exceptions and warns that a future release of Java 9 will forbid illegal access. Stack trace shows: {noformat} WARNING: Illegal reflective access by Main (file:/usr/share/jenkins/jenkins.war) to field java.util.zip.ZipFile.name at Main.whoAmI(Main.java:355) at Main._main(Main.java:214) at Main.main(Main.java:132) {noformat} |
While exploring Jenkins 2.60.3 on Oracle Java 9 build 181 (pre-release), it reports illegal access exceptions and warns that a future release of Java 9 will forbid illegal access. This was from a Windows agent that was started from a batch file. The batch file included the line {{java -jar slave.jar -jnlpUrl http://jenkins.markwaite.net:8080/computer/cb-pc/slave-agent.jnlp -secret my-elided-secret}} Stack trace shows: {noformat} INFO: Remote identity confirmed: 23:d0:c4:ac:00:ef:27:66:df:6c:b7:dd:ba:05:6f:6e Sep 04, 2017 6:59:21 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader (file:/C:/J/slave.jar) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String) WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader 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 {noformat} |
Description |
While exploring Jenkins 2.60.3 on Oracle Java 9 build 181 (pre-release), it reports illegal access exceptions and warns that a future release of Java 9 will forbid illegal access. This was from a Windows agent that was started from a batch file. The batch file included the line {{java -jar slave.jar -jnlpUrl http://jenkins.markwaite.net:8080/computer/cb-pc/slave-agent.jnlp -secret my-elided-secret}} Stack trace shows: {noformat} INFO: Remote identity confirmed: 23:d0:c4:ac:00:ef:27:66:df:6c:b7:dd:ba:05:6f:6e Sep 04, 2017 6:59:21 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader (file:/C:/J/slave.jar) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String) WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader 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 {noformat} |
While exploring Jenkins 2.60.3 on Oracle Java 9 build 181 (pre-release), it reports illegal access exceptions and warns that a future release of Java 9 will forbid illegal access. This was from a Windows agent using JDK 9 that was started from a batch file. The batch file included the line {{java -jar slave.jar -jnlpUrl http://jenkins.markwaite.net:8080/computer/cb-pc/slave-agent.jnlp -secret my-elided-secret}}. The same message does not appear when the Windows agent is running JDK 8, whether the master is running JDK 8 or JDK 9. Stack trace shows: {noformat} INFO: Remote identity confirmed: 23:d0:c4:ac:00:ef:27:66:df:6c:b7:dd:ba:05:6f:6e Sep 04, 2017 6:59:21 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by hudson.remoting.RemoteClassLoader (file:/C:/J/slave.jar) to method java.lang.ClassLoader.getClassLoadingLock(java.lang.String) WARNING: Please consider reporting this to the maintainers of hudson.remoting.RemoteClassLoader 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 {noformat} |
Labels | java10_hackathon |
Labels | java10_hackathon | java10_hackathon java11 |
Labels | java10_hackathon java11 | illegalReflectiveAccess java10_hackathon java11 |
Labels | illegalReflectiveAccess java10_hackathon java11 | illegalReflectiveAccess java10_hackathon java11 triaged |
Labels | illegalReflectiveAccess java10_hackathon java11 triaged | illegalReflectiveAccess java10_hackathon java11 java11-compatibility triaged |
Link | This issue is duplicated by JENKINS-65582 [ JENKINS-65582 ] |
Epic Link |
|
|
Labels | illegalReflectiveAccess java10_hackathon java11 java11-compatibility triaged | java11 |
Summary | [JDK9] Illegal reflective access from slave.jar (Windows) | Illegal reflective access from slave.jar (Windows) |
Summary | Illegal reflective access from slave.jar (Windows) | Illegal reflective access by Remoting |
Summary | Illegal reflective access by Remoting | Illegal reflective access by RemoteClassLoader to |
Summary | Illegal reflective access by RemoteClassLoader to | Illegal reflective access by RemoteClassLoader to ClassLoader#getClassLoadingLock |
Link |
This issue duplicates |
Released As | 3.15 | |
Resolution | Duplicate [ 3 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Epic Link |
|