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

          No plan to fix this soon as this is not blocking, just a warning/log spam AFAIWCT.

          Baptiste Mathus added a comment - No plan to fix this soon as this is not blocking, just a warning/log spam AFAIWCT.

          Basil Crow added a comment -

          The relevant code still exists but has been moved to a different file.

          Basil Crow added a comment - The relevant code still exists but has been moved to a different file .

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

              Created:
              Updated: