hg: jdk/jdk: 8217627: HttpClient: The API documentation of BodySubscribers::mapping promotes bad behavior
daniel.fuchs at oracle.com
daniel.fuchs at oracle.com
Fri Jan 25 18:14:50 UTC 2019
Changeset: 04dcc65c9d58
Author: dfuchs
Date: 2019-01-25 18:13 +0000
URL: http://hg.openjdk.java.net/jdk/jdk/rev/04dcc65c9d58
8217627: HttpClient: The API documentation of BodySubscribers::mapping promotes bad behavior
Summary: The API documentation is updated to steer away from blocking in the mapper function, and an alternative is suggested.
Reviewed-by: chegar
! src/java.net.http/share/classes/java/net/http/HttpResponse.java
! test/jdk/java/net/httpclient/examples/JavadocExamples.java
More information about the jdk-all-changes
mailing list