RFR: 8312436: CompletableFuture never completes when 'Throwable.toString()' method throws Exception

Alan Bateman alanb at openjdk.org
Wed Jun 5 14:38:59 UTC 2024


On Sun, 28 Apr 2024 09:54:34 GMT, Viktor Klang <vklang at openjdk.org> wrote:

> Primarily offering this PR for discussion, as Throwables throwing exceptions on toString(), getLocalizedMessage(), or getMessage() seems like a rather unreasonable thing to do.
> 
> Nevertheless, there is some things we can do, as witnessed in this PR.

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/18988#pullrequestreview-2099417935


More information about the core-libs-dev mailing list