git: openjdk/mobile: 2 new changesets

duke duke at openjdk.java.net
Fri May 29 12:05:19 UTC 2020


Changeset: c0a1a4e4
Author:    Julia Boes <jboes at openjdk.org>
Date:      2020-05-29 12:59:13 +0000
URL:       https://git.openjdk.java.net/mobile/commit/c0a1a4e4

8237470: HttpResponse.BodySubscriber::ofFile throws UOE with non-default file systems

Rework non-default file system paths of BodySubscriber::ofFile and BodyHandler::ofFile and fix BodyHandler::ofFileDownload to throw consistently for non-default file system paths

Reviewed-by: dfuchs, chegar

! src/java.net.http/share/classes/java/net/http/HttpResponse.java
! src/java.net.http/share/classes/jdk/internal/net/http/ResponseBodyHandlers.java
! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java
+ test/jdk/java/net/httpclient/PathSubscriber/BodyHandlerOfFileDownloadTest.java
+ test/jdk/java/net/httpclient/PathSubscriber/BodyHandlerOfFileTest.java
+ test/jdk/java/net/httpclient/PathSubscriber/BodySubscriberOfFileTest.java
+ test/jdk/java/net/httpclient/PathSubscriber/ofFile.policy
+ test/jdk/java/net/httpclient/PathSubscriber/ofFileDownload.policy

Changeset: fc283959
Author:    duke <duke at openjdk.org>
Date:      2020-05-29 12:04:44 +0000
URL:       https://git.openjdk.java.net/mobile/commit/fc283959

Automatic merge of jdk:master into master




More information about the mobile-changes mailing list