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

Remoting uses terminally deprecated System#setSecurityManager method

    • 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.

          [JENKINS-67913] Remoting uses terminally deprecated System#setSecurityManager method

          Basil Crow created issue -
          Basil Crow made changes -
          Epic Link New: JENKINS-67907 [ 214454 ]
          Basil Crow made changes -
          Link New: This issue relates to JENKINS-67000 [ JENKINS-67000 ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-51820 [ JENKINS-51820 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Basil Crow made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: