> 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:

 - Update 
src/java.base/share/classes/java/util/concurrent/AbstractExecutorService.java
   
   Co-authored-by: Viktor Klang <viktor.kl...@oracle.com>
 - Update 
src/java.base/share/classes/java/util/concurrent/AbstractExecutorService.java
   
   Co-authored-by: Viktor Klang <viktor.kl...@oracle.com>

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

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

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

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

Reply via email to