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

Jenkins core classes should implement SerializableOnlyOverRemoting

      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

          [JENKINS-47896] Jenkins core classes should implement SerializableOnlyOverRemoting

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-36716 [ 172750 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "#3980 (Web Link)" [ 22588 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

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

              Created:
              Updated:
              Resolved: