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

Julian Waters jwaters at openjdk.org
Fri Jan 24 20:14:27 UTC 2025


On Sat, 11 Jan 2025 07:10:53 GMT, He-Pin(kerr) <duke at 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.

Hang tight, the verification takes a looooooong time, so it might be a while before your work is seen...

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

PR Comment: https://git.openjdk.org/jdk/pull/23050#issuecomment-2592966205


More information about the core-libs-dev mailing list