Skip to content

Commit

Permalink
[JENKINS-50124] restore AbstractTaskListeners serialVersionUID.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jtnord committed Mar 12, 2018
1 parent dcad69d commit dcf22ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/hudson/util/AbstractTaskListener.java
Expand Up @@ -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 dcf22ca

Please sign in to comment.