Skip to content

Commit

Permalink
Fix JML spec of TPCC#payment
Browse files Browse the repository at this point in the history
With the extra exception in the throws list, for some reason, a
StackOverflowError is thrown at runtime.
  • Loading branch information
bzp99 committed Jul 30, 2023
1 parent 69d9e40 commit 10f89a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public final class TPCC implements ContractInterface {
@ ensures \result.getSkipped() == 10 - \result.getDelivered().size(); // C.TXIO:DELIVERY:FORM_SKIPPED
@*/
private DeliveryOutput delivery(final TPCCContext ctx, final DeliveryInput input)
throws EntityNotFoundException, EntityExistsException;
throws EntityNotFoundException;

/*@
@ ensures \result.getW_id() == input.getW_id(); // C.TXIO:NEWORDER:EQ_W_ID
Expand Down

0 comments on commit 10f89a4

Please sign in to comment.