Re: RFR: 8235459: HttpRequest.BodyPublishers#ofFile(Path) assumes the default file system

2020-03-12 Thread Daniel Fuchs
Hi Julia, I think we need to revisit the public static FilePublisher create(Path path) a bit. We should try to call Path::toFile first - whether there is a security manager or not. In the case where that succeeds, we can use new FileInputStream(), otherwise, we use Files.newInputStream. It's

Re: RFR: 8235459: HttpRequest.BodyPublishers#ofFile(Path) assumes the default file system

2020-03-12 Thread Julia Boes
Thanks for the review, Chris. After running further httpclient tests, I had to adjusted the exception handling of an existing test, RelayingPublishers. I also added a check in FilePublisher::createInputStream to throw if the path is of a directory. Updated webrev: http://cr.openjdk.java.net

Re: RFR[8239355]: '(dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS)'

2020-03-12 Thread Daniel Fuchs
On 11/03/2020 16:54, Patrick Concannon wrote: http://cr.openjdk.java.net/~pconcannon/8239355/webrevs/webrev.03/ Looks good to me Patrick! best regards, -- daniel