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

Viktor Klang vklang at openjdk.org
Wed Jun 5 14:43:03 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.

This pull request has now been integrated.

Changeset: 326dbb1b
Author:    Viktor Klang <vklang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/326dbb1b139dd1ec1b8605339b91697cdf49da9a
Stats:     63 lines in 2 files changed: 52 ins; 2 del; 9 mod

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

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/18988


More information about the core-libs-dev mailing list