Re: RFR 8144008: Setting NO_PROXY on an URLConnection is not complied with

2016-06-21 Thread Vyom Tewari
Hi Chris, I am fine with suggested change( return new java.net.Socket(Proxy.NO_PROXY)); )as this will improve the code readability. Thanks, Vyom On Tuesday 21 June 2016 01:38 PM, Chris Hegarty wrote: Yom, Looking at this again, with fresh eyes, before pushing it for you. I think the change

Re: RFR 8144008: Setting NO_PROXY on an URLConnection is not complied with

2016-06-21 Thread Chris Hegarty
Yom, Looking at this again, with fresh eyes, before pushing it for you. I think the change would be clearer if it explicitly used Proxy.NO_PROXY, rather than relying on the fact that the `proxy` field is initialized to NO_PROXY. Since the intent here is to ALWAYS make an non-proxied connection. @

Re: RFR 8144008: Setting NO_PROXY on an URLConnection is not complied with

2016-06-16 Thread Chris Hegarty
> On 16 Jun 2016, at 18:55, Roger Riggs wrote: > > Hi Vyom, > > Looks ok, +1. I attempted to add a test for https, and just realised that the javax.net.SocketFactory does not support Socket(Proxy). It may be worth capturing this issue somewhere, but it is way beyond the scope of this bug,

Re: RFR 8144008: Setting NO_PROXY on an URLConnection is not complied with

2016-06-16 Thread Roger Riggs
Hi Vyom, Looks ok, Roger On 6/16/2016 10:35 AM, Vyom Tewari wrote: Hi All, Please find the latest webrev(http://cr.openjdk.java.net/~vtewari/8144008/webrev0.1/index.html ), i got some off line comments from Chris. Thanks

Re: RFR 8144008: Setting NO_PROXY on an URLConnection is not complied with

2016-06-16 Thread Vyom Tewari
Hi All, Please find the latest webrev(http://cr.openjdk.java.net/~vtewari/8144008/webrev0.1/index.html ), i got some off line comments from Chris. Thanks, Vyom On Tuesday 14 June 2016 12:11 PM, Vyom Tewari wrote: Hi All,

RFR 8144008: Setting NO_PROXY on an URLConnection is not complied with

2016-06-13 Thread Vyom Tewari
Hi All, Please review the below fix. Bug : JDK-8144008 Setting NO_PROXY on an URLConnection is not complied with Webrev : http://cr.openjdk.java.net/~vtewari/8144008/webrev0.0/index.html Thanks, Vyom