RFR: 8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors [v2]
David Holmes
dholmes at openjdk.org
Wed Aug 14 07:35:54 UTC 2024
On Mon, 12 Aug 2024 16:11:46 GMT, Viktor Klang <vklang at openjdk.org> wrote:
>> 8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors
>
> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
>
> Catching both Error and RuntimeException
When we have `Catch (Error | RuntimeException ex)` exactly what RuntimeExceptions are we trying to account for - because they should not happen and may break the synchronizer if they do.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20548#issuecomment-2288049212
More information about the core-libs-dev
mailing list