Re: RFR of JDK-8158881: Doc typo in src/../java/net/URI.java

2016-06-08 Thread Bradford Wetmore
Looks good, thanks. brad On 6/8/2016 1:16 AM, Chris Hegarty wrote: On 8 Jun 2016, at 03:36, Hamlin Li wrote: On 2016/6/8 4:27, Bradford Wetmore wrote: May I suggest using example.com [1] and an arbitrary path instead on these two examples, so that there's no chance of it being mistaken fo

Re: RFR 8158023: SocketExceptions contain too little information sometimes

2016-06-08 Thread Kenji Kazumura
Christoph, You should not remove conversion codes (platform string to Java String) at JNU_ThrowByNameWithLastError, and you have to add conversion codes at JNU_ThrowByNameWithMessageAndLastError. It seems that you assume strerror returns only ascii characters, but actually not. It depends on the

RE: 8158519: Incorrect network mask and broadcast address on Linux when there are multiple IPv4 addresses on an interface

2016-06-08 Thread Langer, Christoph
Hi Chris, I now took time to look at your proposal based on ioctl calls. This looks very good. I came up with some modifications to your patch and created another webrev: http://cr.openjdk.java.net/~clanger/webrevs/8158519.1/ This builds on Linux, AIX, Solaris and Mac and the basic test to lis

Re: RFR JDK-8156693: Improve usability of CompletableFuture use in WebSocket API

2016-06-08 Thread Roger Riggs
+1, Thanks, Roger On 6/8/2016 9:13 AM, Pavel Rappo wrote: On 7 Jun 2016, at 18:42, Roger Riggs wrote: Hi Pavel, Looks fine. WebSocket.java: - line 82: I'd replace 'never' with 'does not'; it is more like a statement for fact and less a guarantee. - LIne 54: The notation "{@code .onX}" se

Re: RFR JDK-8156693: Improve usability of CompletableFuture use in WebSocket API

2016-06-08 Thread Pavel Rappo
> On 7 Jun 2016, at 18:42, Roger Riggs wrote: > > Hi Pavel, > > Looks fine. > > WebSocket.java: > - line 82: I'd replace 'never' with 'does not'; it is more like a statement > for fact and less a guarantee. > > - LIne 54: The notation "{@code .onX}" seems unnecessary, is quite cryptic, > a

RE: RFR 8158023: SocketExceptions contain too little information sometimes

2016-06-08 Thread Langer, Christoph
Hi Kenji, thanks for this very good point. I thought that JNU_ThrowByNameWithLastError just tries to throw the exception manually and if that fails it calls JNU_ThrowByName which basically does the same. But I missed the point that it does the conversion and tries JNU_ThrowByName only as fallba

Re: JDK 9 RFR of JDK-8159012: Problem list sun/net/www/http/ChunkedOutputStream/checkError.java

2016-06-08 Thread Chris Hegarty
Looks fine Amy. -Chris. > On 8 Jun 2016, at 01:48, Amy Lu wrote: > > sun/net/www/http/ChunkedOutputStream/checkError.java > This test failed intermittently (JDK-8041924), and recently observed failing > with high frequency. > > Please review this patch to put the test to problem list until J

Re: RFR of JDK-8158881: Doc typo in src/../java/net/URI.java

2016-06-08 Thread Chris Hegarty
On 8 Jun 2016, at 03:36, Hamlin Li wrote: > > On 2016/6/8 4:27, Bradford Wetmore wrote: >> May I suggest using example.com [1] and an arbitrary path instead on these >> two examples, so that there's no chance of it being mistaken for a valid >> URL. This example uses old hostnames that might c