RFR: 8319928: Exceptions thrown by cleanup actions should be handled correctly [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Nov 16 18:34:47 UTC 2023


On Thu, 16 Nov 2023 18:27:36 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address CSR comments
>
> src/java.base/share/classes/jdk/internal/foreign/MemorySessionImpl.java line 266:
> 
>> 264:                         pendingException = ex;
>> 265:                     } else if (ex != pendingException) {
>> 266:                         // note: self-suppression is not supported
> 
> Does the current test cover the `ex == pendingException` case?

No, it does not

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16619#discussion_r1396169661


More information about the core-libs-dev mailing list