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

He-Pin (kerr) duke at openjdk.org
Fri Apr 18 03:22:28 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 one additional commit since the last revision:

  chore: fix test error with the help of klang

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23050/files
  - new: https://git.openjdk.org/jdk/pull/23050/files/1e098b28..b4a10d1c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23050&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23050&range=02-03

  Stats: 57 lines in 1 file changed: 2 ins; 0 del; 55 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