Skip to content
Permalink
Browse files

[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.

(cherry picked from commit dcf22ca)
  • Loading branch information...
jtnord authored and olivergondza committed Mar 12, 2018
1 parent 115612b commit 99592e0a84d9dc6bbda457040f91719aa153dfec
Showing with 3 additions and 0 deletions.
  1. +3 −0 core/src/main/java/hudson/util/AbstractTaskListener.java
@@ -13,4 +13,7 @@
@Restricted(NoExternalUse.class)
@RestrictedSince("2.91")
public abstract class AbstractTaskListener implements TaskListener {

private static final long serialVersionUID = 7217626701881006422L;

}

0 comments on commit 99592e0

Please sign in to comment.
You can’t perform that action at this time.