Skip to content

Commit

Permalink
[PEx] Fix serialization issues found by P regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-goel committed Jul 19, 2024
1 parent 4740e2c commit 8557942
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
import pexplicit.values.PMessage;
import pexplicit.values.PValue;

import java.io.Serializable;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

@Getter
public class PContinuation {
public class PContinuation implements Serializable {
private final Set<String> caseEvents;
private final SerializableBiFunction<PMachine, PMessage> handleFun;
@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ScheduleChoice extends Choice<PMachineId> {
/**
* Protocol state at the schedule step
*/
private StepState choiceState = null;
private transient StepState choiceState = null;

/**
* Constructor
Expand Down

0 comments on commit 8557942

Please sign in to comment.