RFR: 8347491: IllegalArgumentationException thrown by ThreadPoolExecutor doesn't have a useful message
He-Pin (kerr)
duke at openjdk.org
Tue Feb 11 03:57:12 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.
It would be much nicer if you take this one:), we are on JDK 21 and want to have this in the next LTS.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23050#issuecomment-2649747805
More information about the core-libs-dev
mailing list