mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
[JENKINS-50124] restore AbstractTaskListeners serialVersionUID.
If a subclass was serialized (default java serialization) then the changes do push down the method to the interface would break deserialisation when in reality the classes are still compatable. Restoring the compatability by hard coding the serialVersionUID to what it was before the change.
This commit is contained in:
1 parent
dcad69dda8
commit
dcf22ca809
1 file changed
+3
@@ -13,4 +13,7 @@ import org.kohsuke.accmod.restrictions.NoExternalUse;
|
||||
@Restricted(NoExternalUse.class)
|
||||
@RestrictedSince("2.91")
|
||||
public abstract class AbstractTaskListener implements TaskListener {
|
||||
|
||||
private static final long serialVersionUID = 7217626701881006422L;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user