-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-47896] SerializableOnlyOverRemoting #3980
[JENKINS-47896] SerializableOnlyOverRemoting #3980
Conversation
Due to the implementation specifics, some classes in the core are serializable only over Remoting. This change just marks these classes and utilizes the convenience method in the interface for serialization/deserialization operations.
… of github.com:oleg-nenashev/jenkins into SerializableOnlyOverRemoting-JENKINS-47896
Someone else needs to write a changelog for this. |
No changelog is needed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be OK if I recall the change correctly
@@ -1828,7 +1830,7 @@ void skip0() { | |||
/** | |||
* Represents a process tree over a channel. | |||
*/ | |||
public static class Remote extends ProcessTree implements Serializable { | |||
public static class Remote extends ProcessTree { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could it be a breaking change? I know it comes from #3144 , but I am not sure why I did that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This implements Serializable
clause was always redundant, given the superclass:
public abstract class ProcessTree implements Iterable<OSProcess>, IProcessTree, Serializable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. One month without coding for me :D
@daniel-beck added some changelog summary just in case you still expect it |
FYI https://issues.jenkins-ci.org/browse/JENKINS-57229 is most likely caused by this PR |
Also Maven Plugin and SCoverage according to https://issues.jenkins-ci.org/browse/JENKINS-57244 . So we have 4 plugins which misuse serialization The proposed plan is to...
|
#3144 with a merge conflict resolved and a minor fixup. See jenkinsci/remoting#206 for background.
Proposed Changelog