> The finisher function supplied to `BodySubscribers.fromSubscriber` is 
> specified to be called when `onComplete()` is called on the `BodySubscriber`. 
> However, this function contains application code that may involve blocking 
> operations. Though this is technically a user error to block in any function 
> supplied to the HttpClient API, the `ResponseSubscribers.SubscriberAdapter` 
> should protect itself against this by calling the finisher asynchronously, in 
> the fork join pool.

Daniel Fuchs has updated the pull request incrementally with one additional 
commit since the last revision:

  Update test to also check the finisher call stack

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15981/files
  - new: https://git.openjdk.org/jdk/pull/15981/files/33685273..82addf80

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

  Stats: 38 lines in 1 file changed: 37 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15981.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15981/head:pull/15981

PR: https://git.openjdk.org/jdk/pull/15981

Reply via email to