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

Remoting uses terminally deprecated System#setSecurityManager method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • remoting
    • None

      While running an agent on Java 17:

      WARNING: A terminally deprecated method in java.lang.System has been called
      WARNING: System::setSecurityManager has been called by hudson.remoting.jnlp.Main (file:/Users/timja/Downloads/agent.jar)
      WARNING: Please consider reporting this to the maintainers of hudson.remoting.jnlp.Main
      WARNING: System::setSecurityManager will be removed in a future release
      

      The method call was removed in jenkinsci/remoting#481, but this caused JENKINS-67000 and had to be reverted in jenkinsci/remoting#507 pending a more nuanced fix.

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: