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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

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

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

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

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

          People

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

            Dates

              Created:
              Updated: