RFR: 8313290: Misleading exception message from STS.Subtask::get when task forked after shutdown [v2]

Alan Bateman alanb at openjdk.org
Thu Aug 17 15:56:17 UTC 2023


On Wed, 16 Aug 2023 16:16:12 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Very minor suggestion, up to you. We could change the exception message thrown by `SubtaskImpl::get` to:
> 
> > Subtask result is unavailable or did not complete successfully
> 
> (Similar change for `SubtaskImpl::exception`.) That leans into the terminology more.

Okay, it's probably a good time to do that. It's also tempting to change the description of the ISE thrown by get and exception but I'll sit that on for a while.

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

PR Comment: https://git.openjdk.org/jdk/pull/15076#issuecomment-1682518112


More information about the core-libs-dev mailing list