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

He-Pin (kerr) duke at openjdk.org
Mon Feb 24 16:21:33 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: update tests

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23050/files
  - new: https://git.openjdk.org/jdk/pull/23050/files/c1b48462..dfc2cee7

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

  Stats: 151 lines in 4 files changed: 64 ins; 12 del; 75 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