RFR: 8347491: IllegalArgumentationException thrown by ThreadPoolExecutor doesn't have a useful message [v3]
He-Pin (kerr)
duke at openjdk.org
Sun Mar 2 06:55:09 UTC 2025
> 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.
He-Pin(kerr) has updated the pull request incrementally with two additional commits since the last revision:
- .
- .
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23050/files
- new: https://git.openjdk.org/jdk/pull/23050/files/dfc2cee7..1e098b28
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23050&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23050&range=01-02
Stats: 85 lines in 2 files changed: 20 ins; 26 del; 39 mod
Patch: https://git.openjdk.org/jdk/pull/23050.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23050/head:pull/23050
PR: https://git.openjdk.org/jdk/pull/23050
More information about the core-libs-dev
mailing list