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

Jenkins core classes should implement SerializableOnlyOverRemoting

    XMLWordPrintable

    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

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Link JENKINS-36716 [ 172750 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "#3980 (Web Link)" [ 22588 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Link This issue causes JENKINS-57229 [ JENKINS-57229 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue causes JENKINS-57244 [ JENKINS-57244 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels remoting causes-regression remoting

              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: