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

Jenkins core classes should implement SerializableOnlyOverRemoting

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: