Facts

On 12 August 2003, the spouses [D.] (born 1927) and [A.] (born 1924), who had no children, concluded an inheritance contract before a notary. The survivor would receive all assets (para. 1 al. 2) in the absence of a forced heir (para. 3). Upon the death of the survivor or in case of simultaneous death, the spouses instituted as heirs in equal shares the wife's nephews, [E.] and [F.] , as well as two lawyers and notaries from Solothurn, [C.] and [B.] (para. 5), and granted a legacy of CHF 100'000 to their domestic employee [G.] (para. 7).

[D.] died on 23 May 2007 in Geneva and [A.] inherited his assets.

By letter of 8 March 2010, the widow informed the beneficiaries that the contract did not correspond to her will nor to that of her husband, that they had been victims of a substantial error, and that she intended to revoke para. 5, considered a unilateral testamentary disposition within the meaning of art. 509 CC. On 8 April 2010, she put them on notice to accept the revocation. [G.] replied 'bon pour accord', [E.] acknowledged receipt without expressly acquiescing, and the other three persons did not reply. By holographic will of 23 March 2010, the widow instituted [E.] , [G.] and two parishes as heirs.

On 7 July 2010, the widow brought an action before the Court of First Instance of Geneva against [B.] , [C.] and [F.] , seeking principally a declaration that para. 5 was validly revoked by a subsequent will, and subsidiarily a declaration of its invalidation and nullity. Territorial jurisdiction was confirmed up to the Federal Supreme Court (judgment 5A_92/2012). [F.] acquiesced on 13 September 2012, [G.] stated her agreement on 17 September 2012, while [C.] and [B.] requested dismissal.

By judgment of 25 March 2015, the Court of First Instance declared the testamentary dispositions of the contract validly revoked and ordered [C.] and [B.] jointly and severally to pay costs, considering that [E.] , who had accepted the revocation, was not to be sued. On appeal by [C.] and [B.] , the Civil Chamber of the Geneva Court of Justice, by judgment of 22 April 2016, set aside that judgment and dismissed the plaintiff's action against [C.] , [B.] and [F.] , holding that the action was a declaratory action coupled with an action for nullity concerning para. 5, so that all institutees, including [E.] , had to be summoned.

By civil appeal of 26 May 2016, the widow requested principally confirmation of the first-instance judgment, subsidiarily a declaration of the invalidation and nullity of para. 5, and more subsidiarily remittal to the prior authority. She obtained suspensive effect on 16 June 2016. The respondents requested dismissal, and the prior authority referred to its considerations.

Considerations

On admissibility, the civil appeal is directed against a final decision (art. 90 FSCA) rendered in inheritance matters (art. 72 para. 1 FSCA) by a cantonal court of last instance (art. 75 FSCA). The appellant, whose action was dismissed, has an interest in annulment, and the minimum amount in dispute of CHF 30'000 is met given the fortune of the testator (art. 74 para. 1 let. b FSCA). The appeal is admissible. The Federal Supreme Court applies the law of its own motion (art. 106 para. 1 FSCA), but in principle examines only the grievances raised, according to the principle of allegation (art. 42 para. 1 and 2 FSCA; art. 106 para. 2 FSCA).

On the nature of the action, the cantonal court qualified it as a declaratory action coupled with an action for nullity. The Federal Supreme Court notes that the subject matter of the dispute and the nature of the action are determined by the submissions and the facts alleged, interpreted according to good faith in case of uncertainty. The submissions principally sought a declaration of valid revocation and subsidiarily invalidation and nullity. It makes no sense to simultaneously seek a declaration of revocation and the nullity of the same clause. The action is therefore principally a declaratory action, and subsidiarily, non-cumulatively, an action for nullity.

On the admissibility of the declaratory action (art. 88 and 59 para. 2 let. a CPC), a legally protected interest presupposes uncertainty as to the law, the necessity of ending that uncertainty, the possibility of resolving it through a judgment, and the absence of an available action for performance or constitutive action. The widow had drawn up a new act of disposition upon death incompatible with para. 5 and sought the beneficiaries' agreement, so that uncertainty existed as to the validity of her later dispositions. She could not wait for her death to clarify the situation, and the unilateral revocation of dispositions upon death (art. 509 para. 1 and 2, 511 para. 1 CC) did not require an action; the conflict arose only from the reaction of the heirs. No constitutive or performance action was available. The declaratory action is therefore admissible.

On passive joinder, mandatory material joinder is required where several persons jointly hold a right or where a constitutive action affects several persons, but an action for nullity of a will (art. 519 ff. CC)…