Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65582

Illegal reflective access by jenkins.slaves.StandardOutputSwapper$ChannelSwapper to constructor java.io.FileDescriptor(int)

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • Jenkins 2.263.4
      RH7 Linux, no container (slaves and master)
      remoting 4.5
      openJDK jdk-11.0.9.1+1 on slaves and master
      (openJDK jdk8u275-b01 for crosscheck on one slave)

      On start of a slave using openJDK jdk-11.0.9.1+1 on slaves and master I get in the log:

      --------------

      <===[JENKINS REMOTING CAPACITY]===>channel started
      Remoting version: 4.5
      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
      [StartupTrigger] - Scanning jobs for node ullteb106

      --------------

      The bold warning makes me a little bit nervous....

      All these warnings are not present, if I use openJDK jdk8u275-b01 instead. (Everything else unchanged)

      There is a similar report referring to Windows and (Sun) JDK9: https://issues.jenkins.io/browse/JENKINS-46631
      And on JDK11, but referring to "after installing the selenium plugin" https://issues.jenkins.io/browse/JENKINS-64831

      (We DON'T have this plugin installed)

      I'm running Jenkins with JDK11, because in my understanding the switch is pending; I'm using openJDK because Sun/Oracle would need a license in my understanding.

          [JENKINS-65582] Illegal reflective access by jenkins.slaves.StandardOutputSwapper$ChannelSwapper to constructor java.io.FileDescriptor(int)

          Martin Jost created issue -
          Tim Jacomb made changes -
          Labels Original: jdk11 slave New: java11-compatibility jdk11 slave
          Basil Crow made changes -
          Labels Original: java11-compatibility jdk11 slave New: illegalReflectiveAccess java11-compatibility jdk11 slave
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-64831 [ JENKINS-64831 ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-46631 [ JENKINS-46631 ]
          Martin Jost made changes -
          Labels Original: illegalReflectiveAccess java11-compatibility jdk11 slave New: illegalReflectiveAccess java11 java11-compatibility jdk11 slave
          Basil Crow made changes -
          Epic Link New: JENKINS-67688 [ 214193 ]
          Basil Crow made changes -
          Labels Original: illegalReflectiveAccess java11 java11-compatibility jdk11 slave New: java11
          Basil Crow made changes -
          Summary Original: "WARNING: An illegal reflective access operation has occurred" on Unix with openJDK11 New: "WARNING: An illegal reflective access operation has occurred" on Unix with Java 11
          Basil Crow made changes -
          Summary Original: "WARNING: An illegal reflective access operation has occurred" on Unix with Java 11 New: Illegal reflective access by StandardOutputSwapper
          Basil Crow made changes -
          Summary Original: Illegal reflective access by StandardOutputSwapper New: Illegal reflective access by StandardOutputSwapper to FileDescriptor(int)

            Unassigned Unassigned
            martinjost Martin Jost
            Votes:
            6 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: