Re: Bug in URLConnection?

2009-12-02 Thread Christopher Hegarty - Sun Microsystems Ireland
Hi Paulo, I must admit that making a URLConnection request from within select looks a little funny, but I don't think it should cause a problem. I've run the test you posted and I don't see the default proxy selector being invoke. I only see the user defined selector. Can you provide more inf

hg: jdk7/tl/jdk: 2 new changesets

2009-12-02 Thread vincent . ryan
Changeset: 561186928899 Author:vinnie Date: 2009-12-02 17:06 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/561186928899 6906510: Fix testcase for 6894643: Separate out dependency on Kerberos Reviewed-by: weijun ! test/sun/security/krb5/auto/SSL.java Changeset: 79d91585d7d7

Re: Bug in URLConnection?

2009-12-02 Thread Paulo Levi
The problem is that the proxyselector is being called at all. I have a real use case where i use the proxy selector to request proxy information for the user. To do that i have to make a (very dirty) url connection to a set of sites one of which i assume to be always up. This is recursive. To avoid

Re: Bug in URLConnection?

2009-12-02 Thread Paulo Levi
What i mean too is i expected the User given proxy selector to be the default "then". After all the ProxySelector installation call is ProxySelector.setDefault(userProxySelector);

Re: Bug in URLConnection?

2009-12-02 Thread Paulo Levi
Besides sending a Proxy to the connection should mean that the connection is going to use that proxy if any? Why ask the proxy selector anything?