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

Illegal reflective access by org.kohsuke.github.Requester to field java.net.HttpURLConnection#method

      Observed in JX's updatebot rather than Jenkins, but might affect Jenkins uses as well (GitHub multibranch etc. etc.):

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.kohsuke.github.Requester (file:/usr/bin/updatebot) to field java.net.HttpURLConnection.method
      

      Indeed it seems that some code in this library digs into JDK implementation details, evidently to work around JDK-8207840. Maybe github-api should just use a better HTTP client.

          [JENKINS-56627] Illegal reflective access by org.kohsuke.github.Requester to field java.net.HttpURLConnection#method

          Jesse Glick created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-40689 [ 177392 ]
          Baptiste Mathus made changes -
          Labels Original: java11 New: illegalReflectiveAccess java11 triaged
          Basil Crow made changes -
          Labels Original: illegalReflectiveAccess java11 triaged New: illegalReflectiveAccess java11 java11-compatibility triaged
          Basil Crow made changes -
          Epic Link Original: JENKINS-40689 [ 177392 ] New: JENKINS-67688 [ 214193 ]
          Basil Crow made changes -
          Labels Original: illegalReflectiveAccess java11 java11-compatibility triaged New: java11
          Basil Crow made changes -
          Epic Link Original: JENKINS-67688 [ 214193 ] New: JENKINS-67907 [ 214454 ]
          Basil Crow made changes -
          Summary Original: Possible Java 11 access violation in Requester New: Illegal reflective access by org.kohsuke.github.Requester to field java.net.HttpURLConnection#method

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: