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

He-Pin (kerr) duke 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.

@viktorklang-ora @AlanBateman @DougLea This PR is a kind of *happen before* :)

I have another PR, I will wait before oca is completed.

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

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


More information about the core-libs-dev mailing list