Jenkins core classes should implement SerializableOnlyOverRemoting

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Follow-up to JENKINS-47714

      Channel#current() uses thread-local storage to determine the current channel. It returns null if the channel does not exist Some writeReplace/readObject/etc. serialization logic retrieves the channel in order to export the object via ExportTable. Obviously, such operations will fail if we try to serialize the object without Remoting context.

      Full list of classes to be updated is TBD, some of them are referenced in https://github.com/jenkinsci/remoting/pull/206

            Assignee:
            Jesse Glick
            Reporter:
            Oleg Nenashev
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: