Article — Sabetti-Barrett, Compendium of Moral Theology
Article I. On an Oath Added to a Contract
I say. Contracts void by whatever law are not made firm by oath; but valid and licit contracts are made firm. - The reason for the first is that an oath follows the nature of the act; and the reason for the second, because then there comes to it a bond from the virtue of religion.
You Will Resolve. - 1st. The obligation from a contract indeed passes to the heirs, but not that which proceeds from an oath, which is personal.
2nd. Contracts which are only rescindable are not made firm by oath when rescindability is induced in view of the public good, but not if it is induced for the private utility of the contracting parties. Wherefore by force of an oath a contract entered into by a minor is not made firm, but a promise made to someone not to revoke a testament is made firm. - Cf. Can. 1318.