Remoting uses terminally deprecated System#setSecurityManager method

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: