On Sat, 11 Jan 2025 07:10:53 GMT, He-Pin(kerr) <d...@openjdk.org> wrote:

> Motivation:
> When a user passes a wrong parameter, the current implementation throws an 
> IllegalArgumentException with an error message `null`, which is not helpful.
> 
> Modification:
> Add detail error messages.
> 
> Result:
> Helpful messages.

This pull request has now been integrated.

Changeset: f141674d
Author:    He-Pin(kerr) <hepin1...@gmail.com>
Committer: Viktor Klang <vkl...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/f141674d1619d95053d38a9cd8f93a8959b4a211
Stats:     269 lines in 4 files changed: 170 ins; 21 del; 78 mod

8347491: IllegalArgumentationException thrown by ThreadPoolExecutor doesn't 
have a useful message

Reviewed-by: vklang, liach, pminborg

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

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

Reply via email to