Re: RFR JDK-8027308: HttpURLConnection should better handle URLs with literal IPv6 addresses

2014-06-10 Thread Chris Hegarty
On 10 Jun 2014, at 11:21, Pavel Rappo wrote: > The latest webrev can be found at: > > http://cr.openjdk.java.net/~prappo/8027308/webrev.02/ This final version looks ok to me Pavel. I can sponsor it for you. -Chris. > Thanks for all your comments. > > -Pavel > > On 10 Jun 2014, at 06:48, A

Re: RFR JDK-8027308: HttpURLConnection should better handle URLs with literal IPv6 addresses

2014-06-10 Thread Pavel Rappo
The latest webrev can be found at: http://cr.openjdk.java.net/~prappo/8027308/webrev.02/ Thanks for all your comments. -Pavel On 10 Jun 2014, at 06:48, Andreas Rieber wrote: > Hi Pavel, > > it could be shorter and faster with this: > >int pos; >if (host.charAt(0) != '[' ||