[crac] RFR: Fix ordering of invocation on Resources [v5]

Radim Vansa duke at openjdk.org
Thu May 4 20:43:40 UTC 2023


On Thu, 4 May 2023 13:59:20 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

>> Radim Vansa has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix javadoc build
>
> src/java.base/share/classes/javax/crac/package-info.java line 87:
> 
>> 85:  *   <li>When an exception is thrown during notificaion, it is caught by the {@code Context} and is suppressed by a {@code CheckpointException} or {@code RestoreException}, depends on the throwing method.
>> 86:  *   </li>
>> 87:  *   <li>When the {@code Resource} is a {@code Context} and it throws {@code CheckpointException} or {@code RestoreException}, exceptions suppressed by the original exception are suppressed by another {@code CheckpointException} or {@code RestoreException}, depends on the throwing method.
> 
> This sepcification for child context was lost

Intentionally. With reporting the exception centrally there's no reason to inform parent context about an error in a resource in child component.

-------------

PR Review Comment: https://git.openjdk.org/crac/pull/60#discussion_r1185492544


More information about the crac-dev mailing list