Code review request: 7198205: CloseTest fails on mac
Weijun Wang
weijun.wang at oracle.com
Thu Sep 13 02:09:49 PDT 2012
On 09/13/2012 04:46 PM, Alan Bateman wrote:
> On 13/09/2012 09:41, Weijun Wang wrote:
>>
>> :
>>
>> It was added thru
>>
>> http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9de97594f062
>>
>> At first I thought this is the reason and the machine does shows an
>> environment variable http_proxy. However, I unset it and nothing
>> changed. After some println it seems the test only hangs at loading
>> the java.awt.Button class.
>>
>> Also, aren't
>>
>> java.net.useSystemProxies=false
>> http.nonProxyHosts=localhost|127.*|[::1]
>>
>> default in net.properties? Shouldn't JRE on macosx honor them?
> If you happy that this wasn't a proxy settings issue then I'm happy to
> see it removed from the exclude list.
>
> Michael can jump in to exclude the proxy settings story on Mac but it's
> to keep compatibility with Apple's jdk6 where it uses the system's proxy
> settings by default (and folks on that platform except it to be
> integrated so that the settings are in one place).
As I said. I unset the http_proxy env var in the terminal window. I'm
not familiar with the networking codes, but does that change the Java
behavior somehow?
I'd be glad to know answers on all platforms, not just macosx.
>>
>> I put it there. It is a test in sun/security but the reason is net (No
>> PortUnreachableE on macosx). I thought putting it in the java_net
>> section would alert networking guys more. :)
> Can you move it to the jdk_security section please, this file is
> organized by sections so that it's clear which tests are excluded for
> each area.
OK.
-Max
>
> -Alan
More information about the net-dev
mailing list